3.0.9 • Published 3 months ago

metronic-extension v3.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

metronic-extension

Extension package for the Metronic WEB theme.

Documentation

Metronic Extension V3 documentation can be found here.

If you are using Metronic Extension V2, please see the documentation here.

Installation

npm install --save metronic-extension

Release Notes

All changes can be found here.

  • 3.0.9 - The release of the package has not yet been determined.
    • Changed the default width of lines in the line chart component (components.LineChart) from 3px to 1px.
    • Added Docker build and demo run environments.
      See the "How to build with Docker" and "How to start the demo with Docker" sections of README.md for details.
    • Fixed a bug in the line chart component (components.LineChart) where the first tick of the X axis was missing when the option to display the y axis on the right side (yAxisOpposite) was enabled.
  • 3.0.8 - 2024/2/16

    • Added an option to the line chart component (components.LineChart) for the number of tick intervals to be displayed on the x-axis (xAxisTickAmount).
      The default is the number of data on the x-axis.

      See here for more information.

    • Added option (xaxis.labels.hideOverlappingLabels) to prevent overlapping X axis labels on line and bar charts (components.LineChart, components.BarChart).

    • The missing source map for the Metronic theme has been added to the dist.
      If your theme does not have them, copy them into the theme directory and use them.
      The source map is not necessarily required and the theme will work without it.
      However, a 404 network error will occur.
      • dist/sourcemaps/plugins/custom/datatables/pdfmake.min.js.map
      • dist/sourcemaps/plugins/global/toastr.js.map
  • 3.0.7 - 2024/2/16

    • Added the following options to the line chart component (components.LineChart).

      • gradient: When enabled, the line is filled with a gradient. Default is true.
      • lineWidth: The line width (in pixels). Default is 3.
      • yAxisOpposite: When enabled, will draw the yaxis on the right side of the chart. Default is false.

        See here for more information.

  • 3.0.6 - 2024/2/13

    • Added a date range menu component (components.initDaterangeMenu).
      Check here for usage and examples.

  • 3.0.5 - 2024/2/12

    • An example has been added for switching the column display of a data table component (components.ImageInput) with an icon button.
      Examples and codes can be found here.

Testing

With npm do:

npm test

How to build with Docker

  1. Start the container.

    docker-compose up -d

    Add the --build option to reflect Dockerfile updates.

    docker-compose up -d --build

    Use the --no-cache option to disable the cache at build time.
    When using the --no-cache option, it is necessary to execute the image build and container startup separately.

    docker-compose build --no-cache
    docker-compose up -d
  2. Connect to container.

    docker exec -it metronic_extension_app bash
  3. Build the package (dist/ and types/ will be output).
    cd /usr/src/app
    npm run build

How to start the demo with Docker

See here.

Author

Takuya Motoshima

License

MIT

3.0.9

3 months ago

3.0.8

3 months ago

3.0.7

3 months ago

3.0.6

3 months ago

3.0.5

3 months ago

3.0.4

3 months ago

3.0.3

4 months ago

3.0.2

6 months ago

3.0.1

6 months ago

3.0.0

6 months ago

2.1.2

6 months ago

2.1.1

6 months ago

2.1.0

6 months ago

2.0.28

8 months ago

2.0.29

8 months ago

2.0.31

8 months ago

2.0.30

8 months ago

2.0.26

8 months ago

2.0.27

8 months ago

2.0.7

12 months ago

2.0.6

12 months ago

2.0.9

12 months ago

2.0.8

12 months ago

2.0.15

11 months ago

2.0.16

10 months ago

2.0.13

11 months ago

2.0.14

11 months ago

2.0.11

12 months ago

2.0.12

11 months ago

2.0.10

12 months ago

2.0.19

10 months ago

2.0.17

10 months ago

2.0.18

10 months ago

2.0.24

9 months ago

2.0.25

9 months ago

2.0.22

9 months ago

2.0.23

9 months ago

2.0.20

10 months ago

2.0.21

10 months ago

1.0.19

1 year ago

1.0.18

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.23

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago