geoiq-frontend-ui-kit 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/badge/badge.styles.d.ts +2 -2
- package/dist/components/atoms/button/button.styles.d.ts +2 -2
- package/dist/components/atoms/checkbox/checkbox.styles.d.ts +2 -2
- package/dist/components/atoms/switch/switch.styles.d.ts +2 -2
- package/dist/components/molecules/alert/alert.styles.d.ts +1 -1
- package/dist/components/molecules/creatable-multi-combobox/creatable-multi-combobox.d.ts +4 -0
- package/dist/components/molecules/creatable-multi-combobox/creatable-multi-combobox.d.ts.map +1 -0
- package/dist/components/molecules/creatable-multi-combobox/creatable-multi-combobox.types.d.ts +49 -0
- package/dist/components/molecules/creatable-multi-combobox/creatable-multi-combobox.types.d.ts.map +1 -0
- package/dist/components/molecules/creatable-multi-combobox/index.d.ts +4 -0
- package/dist/components/molecules/creatable-multi-combobox/index.d.ts.map +1 -0
- package/dist/components/molecules/single-select/index.d.ts.map +1 -1
- package/dist/components/molecules/single-select/single-select-components.d.ts +3 -1
- package/dist/components/molecules/single-select/single-select-components.d.ts.map +1 -1
- package/dist/components/molecules/single-select/single-select.types.d.ts +9 -0
- package/dist/components/molecules/single-select/single-select.types.d.ts.map +1 -1
- package/dist/components/molecules/split-button/split-button.styles.d.ts +3 -3
- package/dist/components/molecules/swatch-grid/index.d.ts +3 -0
- package/dist/components/molecules/swatch-grid/index.d.ts.map +1 -0
- package/dist/components/molecules/swatch-grid/swatch-grid.d.ts +4 -0
- package/dist/components/molecules/swatch-grid/swatch-grid.d.ts.map +1 -0
- package/dist/components/molecules/swatch-grid/swatch-grid.types.d.ts +17 -0
- package/dist/components/molecules/swatch-grid/swatch-grid.types.d.ts.map +1 -0
- package/dist/components/molecules/tabs/tabs.d.ts.map +1 -1
- package/dist/components/molecules/tabs/tabs.styles.d.ts +2 -2
- package/dist/components/molecules/tabs/tabs.types.d.ts +1 -0
- package/dist/components/molecules/tabs/tabs.types.d.ts.map +1 -1
- package/dist/components/organisms/dialog/dialog.d.ts +1 -1
- package/dist/components/organisms/dialog/dialog.d.ts.map +1 -1
- package/dist/components/organisms/dialog/dialog.types.d.ts +9 -0
- package/dist/components/organisms/dialog/dialog.types.d.ts.map +1 -1
- package/dist/components/organisms/image-editor/components/color-picker.d.ts +7 -0
- package/dist/components/organisms/image-editor/components/color-picker.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/layers-list.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/layers-list.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/panel-adjust.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/panel-adjust.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/panel-crop.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/panel-crop.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/panel-insert.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/panel-insert.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/panel-selected.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/panel-selected.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/panel.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/panel.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/portal-context.d.ts +3 -0
- package/dist/components/organisms/image-editor/components/portal-context.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/ribbon.d.ts +9 -0
- package/dist/components/organisms/image-editor/components/ribbon.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/shape-icons.d.ts +4 -0
- package/dist/components/organisms/image-editor/components/shape-icons.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/stage.d.ts +18 -0
- package/dist/components/organisms/image-editor/components/stage.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/components/status-bar.d.ts +6 -0
- package/dist/components/organisms/image-editor/components/status-bar.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/image-editor-modal.d.ts +10 -0
- package/dist/components/organisms/image-editor/image-editor-modal.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/image-editor.d.ts +5 -0
- package/dist/components/organisms/image-editor/image-editor.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/image-editor.types.d.ts +182 -0
- package/dist/components/organisms/image-editor/image-editor.types.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/index.d.ts +4 -0
- package/dist/components/organisms/image-editor/index.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/native-bridge.d.ts +3 -0
- package/dist/components/organisms/image-editor/native-bridge.d.ts.map +1 -0
- package/dist/components/organisms/image-editor/picture-studio-engine.d.ts +16 -0
- package/dist/components/organisms/image-editor/use-image-editor.d.ts +4 -0
- package/dist/components/organisms/image-editor/use-image-editor.d.ts.map +1 -0
- package/dist/components/organisms/navbar/navbar-desktop.d.ts.map +1 -1
- package/dist/components/organisms/navbar/navbar-extended.d.ts.map +1 -1
- package/dist/components/organisms/navbar/navbar-mobile.d.ts.map +1 -1
- package/dist/components/organisms/navbar/navbar.types.d.ts +17 -0
- package/dist/components/organisms/navbar/navbar.types.d.ts.map +1 -1
- package/dist/components/organisms/sheet/sheet.d.ts +1 -1
- package/dist/components/organisms/sheet/sheet.d.ts.map +1 -1
- package/dist/components/organisms/sheet/sheet.types.d.ts +1 -0
- package/dist/components/organisms/sheet/sheet.types.d.ts.map +1 -1
- package/dist/components/organisms/sidebar/sidebar-components.d.ts +1 -1
- package/dist/components/ui/brand-switcher/brand-switcher.d.ts +5 -0
- package/dist/components/ui/brand-switcher/brand-switcher.d.ts.map +1 -0
- package/dist/components/ui/brand-switcher/brand-switcher.types.d.ts +29 -0
- package/dist/components/ui/brand-switcher/brand-switcher.types.d.ts.map +1 -0
- package/dist/components/ui/brand-switcher/index.d.ts +3 -0
- package/dist/components/ui/brand-switcher/index.d.ts.map +1 -0
- package/dist/components/ui/credit-sheet/credit-sheet.d.ts.map +1 -1
- package/dist/components/ui/credit-sheet/credit-sheet.types.d.ts +3 -0
- package/dist/components/ui/credit-sheet/credit-sheet.types.d.ts.map +1 -1
- package/dist/components/ui/credits-indicator/credits-indicator.d.ts +6 -0
- package/dist/components/ui/credits-indicator/credits-indicator.d.ts.map +1 -0
- package/dist/components/ui/credits-indicator/credits-indicator.styles.d.ts +7 -0
- package/dist/components/ui/credits-indicator/credits-indicator.styles.d.ts.map +1 -0
- package/dist/components/ui/credits-indicator/credits-indicator.types.d.ts +14 -0
- package/dist/components/ui/credits-indicator/credits-indicator.types.d.ts.map +1 -0
- package/dist/components/ui/credits-indicator/index.d.ts +3 -0
- package/dist/components/ui/credits-indicator/index.d.ts.map +1 -0
- package/dist/components/ui/form-renderer/components/form-fields/components/multi-image-picker/index.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/components/form-fields/components/single-image-picker/index.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/components/form-fields/components/taggable-multi-image-picker/index.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/components/form-fields/components/taggable-multi-image-picker-with-input/index.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/components/form-fields/index.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/components/form-read-only-view.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/context/form-values/form-values.context.d.ts +4 -0
- package/dist/components/ui/form-renderer/context/form-values/form-values.context.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/context/form-values/form-values.provider.d.ts +2 -0
- package/dist/components/ui/form-renderer/context/form-values/form-values.provider.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/form-renderer.d.ts +10 -0
- package/dist/components/ui/form-renderer/form-renderer.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/form.enums.d.ts +1 -0
- package/dist/components/ui/form-renderer/form.enums.d.ts.map +1 -1
- package/dist/components/ui/form-renderer/form.types.d.ts +20 -1
- package/dist/components/ui/form-renderer/form.types.d.ts.map +1 -1
- package/dist/components/ui/map-marker-hover-card/components/map-cluster-hover-card.d.ts +1 -1
- package/dist/components/ui/map-marker-hover-card/components/map-cluster-hover-card.d.ts.map +1 -1
- package/dist/components/ui/report-snippet-view/report-snippet-view-components.d.ts.map +1 -1
- package/dist/components/ui/request-credits-view/component/request-credit-dialog.d.ts.map +1 -1
- package/dist/components/ui/request-credits-view/component/request-credit-dialog.types.d.ts +3 -0
- package/dist/components/ui/request-credits-view/component/request-credit-dialog.types.d.ts.map +1 -1
- package/dist/components/ui/request-credits-view/index.d.ts +1 -0
- package/dist/components/ui/request-credits-view/index.d.ts.map +1 -1
- package/dist/components/ui/request-credits-view/request-credits-view.d.ts.map +1 -1
- package/dist/components/ui/request-credits-view/request-credits-view.types.d.ts +3 -0
- package/dist/components/ui/request-credits-view/request-credits-view.types.d.ts.map +1 -1
- package/dist/components/unstyled/spinner/spinner.styles.d.ts +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +210 -193
- package/dist/index.es.js.map +1 -1
- package/dist/index.es10.js +30 -23
- package/dist/index.es10.js.map +1 -1
- package/dist/index.es100.js +120 -10
- package/dist/index.es100.js.map +1 -1
- package/dist/index.es101.js +16 -97
- package/dist/index.es101.js.map +1 -1
- package/dist/index.es102.js +41 -60
- package/dist/index.es102.js.map +1 -1
- package/dist/index.es103.js +13 -54
- package/dist/index.es103.js.map +1 -1
- package/dist/index.es104.js +68 -5
- package/dist/index.es104.js.map +1 -1
- package/dist/index.es105.js +32 -9
- package/dist/index.es105.js.map +1 -1
- package/dist/index.es106.js +19 -32
- package/dist/index.es106.js.map +1 -1
- package/dist/index.es107.js +18 -61
- package/dist/index.es107.js.map +1 -1
- package/dist/index.es108.js +12 -22
- package/dist/index.es108.js.map +1 -1
- package/dist/index.es109.js +98 -22
- package/dist/index.es109.js.map +1 -1
- package/dist/index.es11.js +77 -25
- package/dist/index.es11.js.map +1 -1
- package/dist/index.es110.js +62 -21
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js +48 -174
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js +39 -37
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js +10 -40
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js +88 -37
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js +15 -13
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js +88 -261
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es117.js +14 -9
- package/dist/index.es117.js.map +1 -1
- package/dist/index.es118.js +101 -67
- package/dist/index.es118.js.map +1 -1
- package/dist/index.es119.js +23 -185
- package/dist/index.es119.js.map +1 -1
- package/dist/index.es12.js +26 -14
- package/dist/index.es12.js.map +1 -1
- package/dist/index.es120.js +25 -23
- package/dist/index.es120.js.map +1 -1
- package/dist/index.es121.js +22 -177
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es122.js +43 -7
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +32 -84
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +63 -37
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +180 -11
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +13 -35
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +9 -16
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +68 -5
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +185 -10
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es13.js +27 -19
- package/dist/index.es13.js.map +1 -1
- package/dist/index.es130.js +22 -10
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +203 -2
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +40 -22
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js +11 -257
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +7 -35
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +34 -8
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +36 -78
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +2 -76
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +21 -110
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +14 -107
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es14.js +16 -46
- package/dist/index.es14.js.map +1 -1
- package/dist/index.es140.js +7 -87
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js +21 -128
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +155 -114
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +82 -6
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +8 -0
- package/dist/index.es144.js.map +1 -0
- package/dist/index.es145.js +59 -0
- package/dist/index.es145.js.map +1 -0
- package/dist/index.es146.js +120 -0
- package/dist/index.es146.js.map +1 -0
- package/dist/index.es147.js +325 -0
- package/dist/index.es147.js.map +1 -0
- package/dist/index.es148.js +31 -0
- package/dist/index.es148.js.map +1 -0
- package/dist/index.es149.js +71 -0
- package/dist/index.es149.js.map +1 -0
- package/dist/index.es15.js +18 -21
- package/dist/index.es15.js.map +1 -1
- package/dist/index.es150.js +35 -0
- package/dist/index.es150.js.map +1 -0
- package/dist/index.es151.js +28 -0
- package/dist/index.es151.js.map +1 -0
- package/dist/index.es152.js +41 -0
- package/dist/index.es152.js.map +1 -0
- package/dist/index.es153.js +146 -0
- package/dist/index.es153.js.map +1 -0
- package/dist/index.es154.js +147 -0
- package/dist/index.es154.js.map +1 -0
- package/dist/index.es155.js +50 -0
- package/dist/index.es155.js.map +1 -0
- package/dist/index.es156.js +15 -0
- package/dist/index.es156.js.map +1 -0
- package/dist/index.es157.js +47 -0
- package/dist/index.es157.js.map +1 -0
- package/dist/index.es158.js +8 -0
- package/dist/index.es158.js.map +1 -0
- package/dist/index.es159.js +14 -0
- package/dist/index.es159.js.map +1 -0
- package/dist/index.es16.js +44 -22
- package/dist/index.es16.js.map +1 -1
- package/dist/index.es160.js +14 -0
- package/dist/index.es160.js.map +1 -0
- package/dist/index.es161.js +5 -0
- package/dist/index.es161.js.map +1 -0
- package/dist/index.es162.js +94 -0
- package/dist/index.es162.js.map +1 -0
- package/dist/index.es163.js +216 -0
- package/dist/index.es163.js.map +1 -0
- package/dist/index.es164.js +57 -0
- package/dist/index.es164.js.map +1 -0
- package/dist/index.es165.js +39 -0
- package/dist/index.es165.js.map +1 -0
- package/dist/index.es166.js +36 -0
- package/dist/index.es166.js.map +1 -0
- package/dist/index.es167.js +36 -0
- package/dist/index.es167.js.map +1 -0
- package/dist/index.es168.js +94 -0
- package/dist/index.es168.js.map +1 -0
- package/dist/index.es169.js +120 -0
- package/dist/index.es169.js.map +1 -0
- package/dist/index.es17.js +22 -20
- package/dist/index.es17.js.map +1 -1
- package/dist/index.es170.js +289 -0
- package/dist/index.es170.js.map +1 -0
- package/dist/index.es171.js +38 -0
- package/dist/index.es171.js.map +1 -0
- package/dist/index.es172.js +14 -0
- package/dist/index.es172.js.map +1 -0
- package/dist/index.es173.js +87 -0
- package/dist/index.es173.js.map +1 -0
- package/dist/index.es174.js +79 -0
- package/dist/index.es174.js.map +1 -0
- package/dist/index.es175.js +118 -0
- package/dist/index.es175.js.map +1 -0
- package/dist/index.es176.js +112 -0
- package/dist/index.es176.js.map +1 -0
- package/dist/index.es177.js +90 -0
- package/dist/index.es177.js.map +1 -0
- package/dist/index.es178.js +133 -0
- package/dist/index.es178.js.map +1 -0
- package/dist/index.es179.js +133 -0
- package/dist/index.es179.js.map +1 -0
- package/dist/index.es18.js +23 -73
- package/dist/index.es18.js.map +1 -1
- package/dist/index.es180.js +29 -0
- package/dist/index.es180.js.map +1 -0
- package/dist/index.es181.js +27 -0
- package/dist/index.es181.js.map +1 -0
- package/dist/index.es182.js +9 -0
- package/dist/index.es182.js.map +1 -0
- package/dist/index.es19.js +18 -48
- package/dist/index.es19.js.map +1 -1
- package/dist/index.es2.js +120 -22
- package/dist/index.es2.js.map +1 -1
- package/dist/index.es20.js +70 -45
- package/dist/index.es20.js.map +1 -1
- package/dist/index.es21.js +43 -122
- package/dist/index.es21.js.map +1 -1
- package/dist/index.es22.js +39 -96
- package/dist/index.es22.js.map +1 -1
- package/dist/index.es23.js +113 -152
- package/dist/index.es23.js.map +1 -1
- package/dist/index.es24.js +98 -64
- package/dist/index.es24.js.map +1 -1
- package/dist/index.es25.js +160 -77
- package/dist/index.es25.js.map +1 -1
- package/dist/index.es26.js +69 -51
- package/dist/index.es26.js.map +1 -1
- package/dist/index.es27.js +82 -17
- package/dist/index.es27.js.map +1 -1
- package/dist/index.es28.js +274 -2
- package/dist/index.es28.js.map +1 -1
- package/dist/index.es29.js +55 -5
- package/dist/index.es29.js.map +1 -1
- package/dist/index.es3.js +40 -41
- package/dist/index.es3.js.map +1 -1
- package/dist/index.es30.js +16 -75
- package/dist/index.es30.js.map +1 -1
- package/dist/index.es31.js +2 -28
- package/dist/index.es31.js.map +1 -1
- package/dist/index.es32.js +4 -84
- package/dist/index.es32.js.map +1 -1
- package/dist/index.es33.js +72 -43
- package/dist/index.es33.js.map +1 -1
- package/dist/index.es34.js +25 -68
- package/dist/index.es34.js.map +1 -1
- package/dist/index.es35.js +85 -12
- package/dist/index.es35.js.map +1 -1
- package/dist/index.es36.js +47 -85
- package/dist/index.es36.js.map +1 -1
- package/dist/index.es37.js +63 -32
- package/dist/index.es37.js.map +1 -1
- package/dist/index.es38.js +49 -40
- package/dist/index.es38.js.map +1 -1
- package/dist/index.es39.js +12 -98
- package/dist/index.es39.js.map +1 -1
- package/dist/index.es4.js +17 -17
- package/dist/index.es4.js.map +1 -1
- package/dist/index.es40.js +81 -156
- package/dist/index.es40.js.map +1 -1
- package/dist/index.es41.js +39 -226
- package/dist/index.es41.js.map +1 -1
- package/dist/index.es42.js +40 -269
- package/dist/index.es42.js.map +1 -1
- package/dist/index.es43.js +97 -21
- package/dist/index.es43.js.map +1 -1
- package/dist/index.es44.js +15 -9
- package/dist/index.es44.js.map +1 -1
- package/dist/index.es45.js +64 -20
- package/dist/index.es45.js.map +1 -1
- package/dist/index.es46.js +159 -61
- package/dist/index.es46.js.map +1 -1
- package/dist/index.es47.js +226 -123
- package/dist/index.es47.js.map +1 -1
- package/dist/index.es48.js +300 -109
- package/dist/index.es48.js.map +1 -1
- package/dist/index.es49.js +19 -31
- package/dist/index.es49.js.map +1 -1
- package/dist/index.es5.js +33 -31
- package/dist/index.es5.js.map +1 -1
- package/dist/index.es50.js +8 -142
- package/dist/index.es50.js.map +1 -1
- package/dist/index.es51.js +18 -70
- package/dist/index.es51.js.map +1 -1
- package/dist/index.es52.js +69 -21
- package/dist/index.es52.js.map +1 -1
- package/dist/index.es53.js +143 -103
- package/dist/index.es53.js.map +1 -1
- package/dist/index.es54.js +123 -11
- package/dist/index.es54.js.map +1 -1
- package/dist/index.es55.js +103 -18
- package/dist/index.es55.js.map +1 -1
- package/dist/index.es56.js +73 -11
- package/dist/index.es56.js.map +1 -1
- package/dist/index.es57.js +141 -16
- package/dist/index.es57.js.map +1 -1
- package/dist/index.es58.js +67 -40
- package/dist/index.es58.js.map +1 -1
- package/dist/index.es59.js +22 -86
- package/dist/index.es59.js.map +1 -1
- package/dist/index.es6.js +19 -23
- package/dist/index.es6.js.map +1 -1
- package/dist/index.es60.js +104 -7
- package/dist/index.es60.js.map +1 -1
- package/dist/index.es61.js +11 -41
- package/dist/index.es61.js.map +1 -1
- package/dist/index.es62.js +19 -79
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +10 -35
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +16 -86
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +43 -58
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +86 -69
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +7 -32
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +39 -65
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +79 -28
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es7.js +38 -43
- package/dist/index.es7.js.map +1 -1
- package/dist/index.es70.js +66 -84
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +88 -11
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +59 -46
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +65 -108
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +30 -15
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +56 -35
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +18 -19
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +30 -38
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +85 -28
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +10 -94
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es8.js +26 -33
- package/dist/index.es8.js.map +1 -1
- package/dist/index.es80.js +47 -2
- package/dist/index.es80.js.map +1 -1
- package/dist/index.es81.js +113 -6
- package/dist/index.es81.js.map +1 -1
- package/dist/index.es82.js +16 -26
- package/dist/index.es82.js.map +1 -1
- package/dist/index.es83.js +42 -109
- package/dist/index.es83.js.map +1 -1
- package/dist/index.es84.js +27 -22
- package/dist/index.es84.js.map +1 -1
- package/dist/index.es85.js +39 -18
- package/dist/index.es85.js.map +1 -1
- package/dist/index.es86.js +27 -18
- package/dist/index.es86.js.map +1 -1
- package/dist/index.es87.js +94 -18
- package/dist/index.es87.js.map +1 -1
- package/dist/index.es88.js +1 -18
- package/dist/index.es88.js.map +1 -1
- package/dist/index.es89.js +6 -49
- package/dist/index.es89.js.map +1 -1
- package/dist/index.es9.js +37 -72
- package/dist/index.es9.js.map +1 -1
- package/dist/index.es90.js +23 -84
- package/dist/index.es90.js.map +1 -1
- package/dist/index.es91.js +96 -99
- package/dist/index.es91.js.map +1 -1
- package/dist/index.es92.js +24 -16
- package/dist/index.es92.js.map +1 -1
- package/dist/index.es93.js +16 -22
- package/dist/index.es93.js.map +1 -1
- package/dist/index.es94.js +17 -100
- package/dist/index.es94.js.map +1 -1
- package/dist/index.es95.js +16 -71
- package/dist/index.es95.js.map +1 -1
- package/dist/index.es96.js +16 -42
- package/dist/index.es96.js.map +1 -1
- package/dist/index.es97.js +9 -32
- package/dist/index.es97.js.map +1 -1
- package/dist/index.es98.js +269 -15
- package/dist/index.es98.js.map +1 -1
- package/dist/index.es99.js +85 -17
- package/dist/index.es99.js.map +1 -1
- package/dist/lib/constants.d.ts +2 -0
- package/dist/lib/constants.d.ts.map +1 -0
- package/dist/styles.css +363 -31
- package/dist/ui-kit-preset.js +2 -1
- package/package.json +1 -1
package/dist/index.es30.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es30.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es30.js","sources":["../src/components/molecules/slider/slider.tsx"],"sourcesContent":["import * as SliderPrimitive from '@radix-ui/react-slider'\nimport * as React from 'react'\n\nimport { cn } from '@/lib/utils'\nimport { SliderVariants } from './slider.styles'\n\nexport const Slider = React.forwardRef<\n React.ElementRef<typeof SliderPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SliderPrimitive.Root>\n>(({ className, id, ...props }, ref) => (\n // <div className='bg-light-3 h-[100px] w-full flex'>\n\n <SliderPrimitive.Root\n ref={ref}\n className={cn(SliderVariants({ className }))}\n id={id}\n {...props}\n >\n <SliderPrimitive.Track className=\"relative w-full h-2 overflow-hidden rounded-full grow bg-light-4\">\n <SliderPrimitive.Range className=\"absolute h-full bg-click-p1\" />\n </SliderPrimitive.Track>\n\n <SliderPrimitive.Thumb className=\"block h-5 w-5 bg-rest-p1 hover:bg-hover-p1 active:bg-click-p1 rounded-full border-[6px] border-neutral-0 hover:w-6 hover:h-6 shadow-lg bg-click-p1 outline-none transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 focus-visible:cursor-pointer \" />\n </SliderPrimitive.Root>\n // </div>\n))\n\nSlider.displayName = SliderPrimitive.Root.displayName\n"],"names":["Slider","React","className","id","props","ref","SliderPrimitive","cn","SliderVariants"],"mappings":";;;;AAMO,MAAMA,IAASC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,IAAAC,GAAI,GAAGC,EAAA,GAASC;AAAA;AAAA,EAG9B,gBAAAJ,EAAA;AAAA,IAACK,EAAgB;AAAA,IAAhB;AAAA,MACC,KAAAD;AAAA,MACA,WAAWE,EAAGC,EAAe,EAAE,WAAAN,EAAA,CAAW,CAAC;AAAA,MAC3C,IAAAC;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,IAEJ,gBAAAH,EAAA,cAACK,EAAgB,OAAhB,EAAsB,WAAU,mEAAA,GAC/B,gBAAAL,EAAA,cAACK,EAAgB,OAAhB,EAAsB,WAAU,8BAAA,CAA8B,CACjE;AAAA,IAEA,gBAAAL,EAAA,cAACK,EAAgB,OAAhB,EAAsB,WAAU,8RAAA,CAA8R;AAAA,EAAA;AAAA,CAGlU;AAEDN,EAAO,cAAcM,EAAgB,KAAK;"}
|
package/dist/index.es31.js
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { ToastProvider as s, ToastPrimitive as c, ToastIcon as p, ToastTitle as E, ToastDescription as T, ToastAction as u, ToastClose as d, ToastViewport as f } from "./index.es32.js";
|
|
3
|
-
import { useToast as g } from "./index.es79.js";
|
|
4
|
-
import { Typography as o } from "./index.es17.js";
|
|
5
|
-
import { Button as v } from "./index.es7.js";
|
|
6
|
-
function b() {
|
|
7
|
-
const { toasts: m } = g();
|
|
8
|
-
return /* @__PURE__ */ e.createElement(s, null, m.map(function({
|
|
9
|
-
id: n,
|
|
10
|
-
title: a,
|
|
11
|
-
description: l,
|
|
12
|
-
action: t,
|
|
13
|
-
icon: r,
|
|
14
|
-
...i
|
|
15
|
-
}) {
|
|
16
|
-
return /* @__PURE__ */ e.createElement(c, { key: n, ...i }, /* @__PURE__ */ e.createElement("div", { className: "grid grid-flow-col gap-2" }, r && /* @__PURE__ */ e.createElement(p, { icon: r }), /* @__PURE__ */ e.createElement("div", { className: "grid gap-1" }, a && /* @__PURE__ */ e.createElement(E, null, /* @__PURE__ */ e.createElement(o, { variant: "body3", className: "text-light-2" }, a)), l && /* @__PURE__ */ e.createElement(T, null, /* @__PURE__ */ e.createElement(o, { variant: "body4", className: "text-light-4" }, l)), /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
17
|
-
u,
|
|
18
|
-
{
|
|
19
|
-
altText: t?.altText ?? "",
|
|
20
|
-
onClick: t?.method,
|
|
21
|
-
className: "p-0 m-0"
|
|
22
|
-
},
|
|
23
|
-
/* @__PURE__ */ e.createElement(v, { variant: "link-primary" }, t?.title)
|
|
24
|
-
)))), /* @__PURE__ */ e.createElement(d, null));
|
|
25
|
-
}), /* @__PURE__ */ e.createElement(f, null));
|
|
26
|
-
}
|
|
1
|
+
var n = /* @__PURE__ */ ((r) => (r.CURRENT = "current", r.PENDING = "pending", r.COMPLETED = "completed", r))(n || {});
|
|
27
2
|
export {
|
|
28
|
-
|
|
29
|
-
g as useToast
|
|
3
|
+
n as StepItemStatus
|
|
30
4
|
};
|
|
31
5
|
//# sourceMappingURL=index.es31.js.map
|
package/dist/index.es31.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es31.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es31.js","sources":["../src/components/molecules/stepper/stepper.type.ts"],"sourcesContent":["export type StepperValue = {\n id: string | number\n value?: number\n label: string\n status:\n | StepItemStatus.PENDING\n | StepItemStatus.CURRENT\n | StepItemStatus.COMPLETED\n}\nexport interface StepperItemProps {\n value: StepperValue\n variant:\n | StepItemStatus.PENDING\n | StepItemStatus.CURRENT\n | StepItemStatus.COMPLETED\n}\n\nexport enum StepItemStatus {\n CURRENT = 'current',\n PENDING = 'pending',\n COMPLETED = 'completed',\n}\n\nexport type StepperProps = { value: StepperValue[]; id?: string }\n"],"names":["StepItemStatus"],"mappings":"AAiBO,IAAKA,sBAAAA,OACVA,EAAA,UAAU,WACVA,EAAA,UAAU,WACVA,EAAA,YAAY,aAHFA,IAAAA,KAAA,CAAA,CAAA;"}
|
package/dist/index.es32.js
CHANGED
|
@@ -1,88 +1,8 @@
|
|
|
1
|
+
import { StepperProvider as p, StepGroup as m } from "./index.es112.js";
|
|
1
2
|
import * as e from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { X as l } from "lucide-react";
|
|
5
|
-
import { cn as s } from "./index.es81.js";
|
|
6
|
-
import m from "./index.es85.js";
|
|
7
|
-
import c from "./index.es86.js";
|
|
8
|
-
import d from "./index.es87.js";
|
|
9
|
-
import p from "./index.es88.js";
|
|
10
|
-
const D = a.Provider, f = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(
|
|
11
|
-
a.Viewport,
|
|
12
|
-
{
|
|
13
|
-
ref: r,
|
|
14
|
-
className: s(
|
|
15
|
-
"fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
|
|
16
|
-
t
|
|
17
|
-
),
|
|
18
|
-
...o
|
|
19
|
-
}
|
|
20
|
-
));
|
|
21
|
-
f.displayName = a.Viewport.displayName;
|
|
22
|
-
const u = i(
|
|
23
|
-
"group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-4 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
24
|
-
{
|
|
25
|
-
variants: {
|
|
26
|
-
variant: {
|
|
27
|
-
default: "bg-light-1 border text-foreground"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
defaultVariants: {
|
|
31
|
-
variant: "default"
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
), w = e.forwardRef(({ className: t, variant: o, ...r }, n) => /* @__PURE__ */ e.createElement(
|
|
35
|
-
a.Root,
|
|
36
|
-
{
|
|
37
|
-
ref: n,
|
|
38
|
-
className: s(u({ variant: o }), t),
|
|
39
|
-
...r
|
|
40
|
-
}
|
|
41
|
-
));
|
|
42
|
-
w.displayName = a.Root.displayName;
|
|
43
|
-
const v = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(a.Action, { ref: r, className: s(t), ...o }));
|
|
44
|
-
v.displayName = a.Action.displayName;
|
|
45
|
-
const x = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(
|
|
46
|
-
a.Close,
|
|
47
|
-
{
|
|
48
|
-
ref: r,
|
|
49
|
-
className: s(
|
|
50
|
-
"absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 ",
|
|
51
|
-
t
|
|
52
|
-
),
|
|
53
|
-
"toast-close": "",
|
|
54
|
-
...o
|
|
55
|
-
},
|
|
56
|
-
/* @__PURE__ */ e.createElement(l, { className: "w-4 h-4" })
|
|
57
|
-
));
|
|
58
|
-
x.displayName = a.Close.displayName;
|
|
59
|
-
const y = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(a.Title, { ref: r, className: t, ...o }));
|
|
60
|
-
y.displayName = a.Title.displayName;
|
|
61
|
-
const N = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(a.Description, { ref: r, className: t, ...o }));
|
|
62
|
-
N.displayName = a.Description.displayName;
|
|
63
|
-
const g = ({ icon: t }) => {
|
|
64
|
-
switch (t) {
|
|
65
|
-
case "success":
|
|
66
|
-
return /* @__PURE__ */ e.createElement(c, null);
|
|
67
|
-
case "info":
|
|
68
|
-
return /* @__PURE__ */ e.createElement(m, null);
|
|
69
|
-
case "danger":
|
|
70
|
-
return /* @__PURE__ */ e.createElement(d, null);
|
|
71
|
-
case "warning":
|
|
72
|
-
return /* @__PURE__ */ e.createElement(p, null);
|
|
73
|
-
default:
|
|
74
|
-
return /* @__PURE__ */ e.createElement("div", null);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
g.displayName = "ToastIcon";
|
|
3
|
+
const a = ({ value: t, id: r }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(p, { steps: t, id: r }, /* @__PURE__ */ e.createElement(m, null)));
|
|
4
|
+
a.displayName = "Stepper";
|
|
78
5
|
export {
|
|
79
|
-
|
|
80
|
-
x as ToastClose,
|
|
81
|
-
N as ToastDescription,
|
|
82
|
-
g as ToastIcon,
|
|
83
|
-
w as ToastPrimitive,
|
|
84
|
-
D as ToastProvider,
|
|
85
|
-
y as ToastTitle,
|
|
86
|
-
f as ToastViewport
|
|
6
|
+
a as Stepper
|
|
87
7
|
};
|
|
88
8
|
//# sourceMappingURL=index.es32.js.map
|
package/dist/index.es32.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es32.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es32.js","sources":["../src/components/molecules/stepper/stepper.tsx"],"sourcesContent":["import { StepperProvider, StepGroup } from './stepper-components'\nimport { StepperProps } from './stepper.type'\nimport { useStepper } from './use-stepper'\nimport * as React from 'react'\n\nconst Stepper = ({ value, id }: StepperProps) => {\n return (\n <>\n <StepperProvider steps={value} id={id}>\n <StepGroup />\n </StepperProvider>\n </>\n )\n}\n\nStepper.displayName = 'Stepper'\n\nexport { Stepper, useStepper }\n"],"names":["Stepper","value","id","React","StepperProvider","StepGroup"],"mappings":";;AAKA,MAAMA,IAAU,CAAC,EAAE,OAAAC,GAAO,IAAAC,QAEtB,gBAAAC,EAAA,cAAAA,EAAA,UAAA,sCACGC,GAAA,EAAgB,OAAOH,GAAO,IAAAC,KAC7B,gBAAAC,EAAA,cAACE,GAAA,IAAU,CACb,CACF;AAIJL,EAAQ,cAAc;"}
|
package/dist/index.es33.js
CHANGED
|
@@ -1,53 +1,82 @@
|
|
|
1
1
|
import * as e from "react";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import * as i from "@radix-ui/react-tabs";
|
|
3
|
+
import { cn as l } from "./index.es89.js";
|
|
4
|
+
import { TabsVariants as N, TabTriggerVariants as T } from "./index.es136.js";
|
|
5
|
+
const f = e.forwardRef(({ className: s, variant: a, size: n, ...t }, o) => /* @__PURE__ */ e.createElement(
|
|
6
|
+
i.List,
|
|
7
|
+
{
|
|
8
|
+
ref: o,
|
|
9
|
+
className: l(N({ variant: a, size: n, className: s })),
|
|
10
|
+
...t
|
|
11
|
+
}
|
|
12
|
+
));
|
|
13
|
+
f.displayName = i.List.displayName;
|
|
14
|
+
const g = e.forwardRef(({ className: s, variant: a, size: n, ...t }, o) => /* @__PURE__ */ e.createElement(
|
|
15
|
+
i.Trigger,
|
|
16
|
+
{
|
|
17
|
+
ref: o,
|
|
18
|
+
className: l(T({ variant: a, size: n, className: s })),
|
|
19
|
+
...t
|
|
20
|
+
}
|
|
21
|
+
));
|
|
22
|
+
g.displayName = i.Trigger.displayName;
|
|
23
|
+
const E = e.forwardRef(({ className: s, ...a }, n) => /* @__PURE__ */ e.createElement(
|
|
24
|
+
i.Content,
|
|
25
|
+
{
|
|
26
|
+
ref: n,
|
|
27
|
+
className: l(
|
|
28
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
29
|
+
s
|
|
30
|
+
),
|
|
31
|
+
...a
|
|
32
|
+
}
|
|
33
|
+
));
|
|
34
|
+
E.displayName = i.Content.displayName;
|
|
35
|
+
const R = e.forwardRef(
|
|
8
36
|
({
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
37
|
+
className: s,
|
|
38
|
+
defaultValue: a,
|
|
39
|
+
tabList: n,
|
|
40
|
+
onTabChange: t,
|
|
41
|
+
variant: o,
|
|
42
|
+
size: c,
|
|
43
|
+
value: p,
|
|
44
|
+
id: d,
|
|
15
45
|
disabled: m,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
46
|
+
...u
|
|
47
|
+
}) => /* @__PURE__ */ e.createElement(
|
|
48
|
+
i.Root,
|
|
49
|
+
{
|
|
50
|
+
defaultValue: a,
|
|
51
|
+
onValueChange: t,
|
|
52
|
+
className: l(s, m ? "cursor-not-allowed" : ""),
|
|
53
|
+
value: p,
|
|
54
|
+
id: d
|
|
55
|
+
},
|
|
56
|
+
/* @__PURE__ */ e.createElement(f, { style: u.style, variant: o, size: c }, n.map((r, y) => /* @__PURE__ */ e.createElement(
|
|
57
|
+
g,
|
|
21
58
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
59
|
+
key: y,
|
|
60
|
+
value: r.value,
|
|
61
|
+
variant: o,
|
|
62
|
+
size: c,
|
|
63
|
+
className: "flex gap-1.5 items-center justify-center",
|
|
64
|
+
disabled: m
|
|
25
65
|
},
|
|
26
|
-
/* @__PURE__ */ e.createElement(
|
|
27
|
-
|
|
28
|
-
return /* @__PURE__ */ e.createElement("div", { className: "flex items-center justify-center select-none" }, /* @__PURE__ */ e.createElement(
|
|
29
|
-
"button",
|
|
30
|
-
{
|
|
31
|
-
className: r(f({ variant: n, size: t })),
|
|
32
|
-
id: c,
|
|
33
|
-
ref: p,
|
|
34
|
-
disabled: m || a,
|
|
35
|
-
...l
|
|
36
|
-
},
|
|
37
|
-
a ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(h, { className: "w-4 h-4 mr-2 animate-spin" }), "Please wait...") : o ? /* @__PURE__ */ e.createElement("div", { className: "flex items-center" }, s, /* @__PURE__ */ e.createElement(
|
|
38
|
-
w,
|
|
66
|
+
/* @__PURE__ */ e.createElement(e.Fragment, null, r?.icon && typeof r?.icon == "string" && /* @__PURE__ */ e.createElement(
|
|
67
|
+
"img",
|
|
39
68
|
{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
69
|
+
src: r.icon,
|
|
70
|
+
alt: "icon",
|
|
71
|
+
className: "w-4 h-4 filter hue-rotate-45",
|
|
72
|
+
style: { display: r.icon ? "block" : "none" }
|
|
73
|
+
}
|
|
74
|
+
), r.icon && typeof r.icon != "string" && r.icon && /* @__PURE__ */ e.createElement(r.icon, { size: 16 }), r.label, r.badge !== void 0 && r.badge !== null && r.badge)
|
|
75
|
+
)))
|
|
76
|
+
)
|
|
47
77
|
);
|
|
48
|
-
S.displayName = "SplitButton";
|
|
49
78
|
export {
|
|
50
|
-
|
|
51
|
-
|
|
79
|
+
R as Tabs,
|
|
80
|
+
E as TabsContent
|
|
52
81
|
};
|
|
53
82
|
//# sourceMappingURL=index.es33.js.map
|
package/dist/index.es33.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es33.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es33.js","sources":["../src/components/molecules/tabs/tabs.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as TabsPrimitive from '@radix-ui/react-tabs'\nimport { type VariantProps } from 'class-variance-authority'\n\nimport { cn } from '@/lib/utils'\nimport { TabsProps } from './tabs.types'\nimport { TabsVariants, TabTriggerVariants } from './tabs.styles'\n\nconst TabsList = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.List> &\n VariantProps<typeof TabsVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TabsPrimitive.List\n ref={ref}\n className={cn(TabsVariants({ variant, size, className }))}\n {...props}\n />\n))\nTabsList.displayName = TabsPrimitive.List.displayName\n\nconst TabsTrigger = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger> &\n VariantProps<typeof TabsVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(TabTriggerVariants({ variant, size, className }))}\n {...props}\n />\n))\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName\n\nconst TabsContent = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <TabsPrimitive.Content\n ref={ref}\n className={cn(\n 'mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n className\n )}\n {...props}\n />\n))\nTabsContent.displayName = TabsPrimitive.Content.displayName\n\nconst Tabs = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Root>,\n TabsProps\n>(\n ({\n className,\n defaultValue,\n tabList,\n onTabChange,\n variant,\n size,\n value,\n id,\n disabled,\n ...props\n }) => (\n <TabsPrimitive.Root\n defaultValue={defaultValue}\n onValueChange={onTabChange}\n className={cn(className, disabled ? 'cursor-not-allowed' : '')}\n value={value}\n id={id}\n >\n <TabsList style={props.style} variant={variant} size={size}>\n {tabList.map((tab, index) => {\n return (\n <TabsTrigger\n key={index}\n value={tab.value}\n variant={variant}\n size={size}\n className=\"flex gap-1.5 items-center justify-center\"\n disabled={disabled}\n >\n <React.Fragment>\n {tab?.icon && typeof tab?.icon == 'string' && (\n <img\n src={tab.icon as string}\n alt=\"icon\"\n className=\"w-4 h-4 filter hue-rotate-45\"\n style={{ display: tab.icon ? 'block' : 'none' }}\n />\n )}\n {tab.icon && typeof tab.icon !== 'string' && tab.icon && (\n <tab.icon size={16} />\n )}\n {tab.label}\n {tab.badge !== undefined && tab.badge !== null && tab.badge}\n </React.Fragment>\n </TabsTrigger>\n )\n })}\n </TabsList>\n </TabsPrimitive.Root>\n )\n)\n\nexport { Tabs, TabsContent }\n"],"names":["TabsList","React","className","variant","size","props","ref","TabsPrimitive","cn","TabsVariants","TabsTrigger","TabTriggerVariants","TabsContent","Tabs","defaultValue","tabList","onTabChange","value","id","disabled","tab","index"],"mappings":";;;;AAQA,MAAMA,IAAWC,EAAM,WAIrB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,GAAGC,EAAA,GAASC,MACzC,gBAAAL,EAAA;AAAA,EAACM,EAAc;AAAA,EAAd;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAGC,EAAa,EAAE,SAAAN,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,IACvD,GAAGG;AAAA,EAAA;AACN,CACD;AACDL,EAAS,cAAcO,EAAc,KAAK;AAE1C,MAAMG,IAAcT,EAAM,WAIxB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,GAAGC,EAAA,GAASC,MACzC,gBAAAL,EAAA;AAAA,EAACM,EAAc;AAAA,EAAd;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAGG,EAAmB,EAAE,SAAAR,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,IAC7D,GAAGG;AAAA,EAAA;AACN,CACD;AACDK,EAAY,cAAcH,EAAc,QAAQ;AAEhD,MAAMK,IAAcX,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAA,GAASC,MAC1B,gBAAAL,EAAA;AAAA,EAACM,EAAc;AAAA,EAAd;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,CACD;AACDO,EAAY,cAAcL,EAAc,QAAQ;AAEhD,MAAMM,IAAOZ,EAAM;AAAA,EAIjB,CAAC;AAAA,IACC,WAAAC;AAAA,IACA,cAAAY;AAAA,IACA,SAAAC;AAAA,IACA,aAAAC;AAAA,IACA,SAAAb;AAAA,IACA,MAAAC;AAAA,IACA,OAAAa;AAAA,IACA,IAAAC;AAAA,IACA,UAAAC;AAAA,IACA,GAAGd;AAAA,EAAA,MAEH,gBAAAJ,EAAA;AAAA,IAACM,EAAc;AAAA,IAAd;AAAA,MACC,cAAAO;AAAA,MACA,eAAeE;AAAA,MACf,WAAWR,EAAGN,GAAWiB,IAAW,uBAAuB,EAAE;AAAA,MAC7D,OAAAF;AAAA,MACA,IAAAC;AAAA,IAAA;AAAA,IAEA,gBAAAjB,EAAA,cAACD,GAAA,EAAS,OAAOK,EAAM,OAAO,SAAAF,GAAkB,MAAAC,EAAA,GAC7CW,EAAQ,IAAI,CAACK,GAAKC,MAEf,gBAAApB,EAAA;AAAA,MAACS;AAAA,MAAA;AAAA,QACC,KAAKW;AAAA,QACL,OAAOD,EAAI;AAAA,QACX,SAAAjB;AAAA,QACA,MAAAC;AAAA,QACA,WAAU;AAAA,QACV,UAAAe;AAAA,MAAA;AAAA,MAEA,gBAAAlB,EAAA,cAACA,EAAM,UAAN,MACEmB,GAAK,QAAQ,OAAOA,GAAK,QAAQ,YAChC,gBAAAnB,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,KAAKmB,EAAI;AAAA,UACT,KAAI;AAAA,UACJ,WAAU;AAAA,UACV,OAAO,EAAE,SAASA,EAAI,OAAO,UAAU,OAAA;AAAA,QAAO;AAAA,MAAA,GAGjDA,EAAI,QAAQ,OAAOA,EAAI,QAAS,YAAYA,EAAI,QAC/C,gBAAAnB,EAAA,cAACmB,EAAI,MAAJ,EAAS,MAAM,GAAA,CAAI,GAErBA,EAAI,OACJA,EAAI,UAAU,UAAaA,EAAI,UAAU,QAAQA,EAAI,KACxD;AAAA,IAAA,CAGL,CACH;AAAA,EAAA;AAGN;"}
|
package/dist/index.es34.js
CHANGED
|
@@ -1,74 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const [r, m] = e.useState(!1);
|
|
19
|
-
return /* @__PURE__ */ e.createElement(k, { open: r, onOpenChange: m, ...h }, /* @__PURE__ */ e.createElement(
|
|
20
|
-
S,
|
|
21
|
-
{
|
|
22
|
-
className: `min-h-[42px] h-fit bg-rest-s1 flex gap-1 hover:bg-hover-t1
|
|
23
|
-
${r || a.length > 0 ? "border-primary-1 border-click-p1 bg-click-t1" : "border-0 bg-rest-s1"}
|
|
24
|
-
${a.length === 0 && "px-3"}
|
|
25
|
-
`,
|
|
26
|
-
asChild: !0
|
|
27
|
-
},
|
|
28
|
-
/* @__PURE__ */ e.createElement(
|
|
29
|
-
b,
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { ToastProvider as s, ToastPrimitive as c, ToastIcon as p, ToastTitle as E, ToastDescription as T, ToastAction as u, ToastClose as d, ToastViewport as f } from "./index.es35.js";
|
|
3
|
+
import { useToast as g } from "./index.es87.js";
|
|
4
|
+
import { Typography as o } from "./index.es19.js";
|
|
5
|
+
import { Button as v } from "./index.es9.js";
|
|
6
|
+
function b() {
|
|
7
|
+
const { toasts: m } = g();
|
|
8
|
+
return /* @__PURE__ */ e.createElement(s, null, m.map(function({
|
|
9
|
+
id: n,
|
|
10
|
+
title: a,
|
|
11
|
+
description: l,
|
|
12
|
+
action: t,
|
|
13
|
+
icon: r,
|
|
14
|
+
...i
|
|
15
|
+
}) {
|
|
16
|
+
return /* @__PURE__ */ e.createElement(c, { key: n, ...i }, /* @__PURE__ */ e.createElement("div", { className: "grid grid-flow-col gap-2" }, r && /* @__PURE__ */ e.createElement(p, { icon: r }), /* @__PURE__ */ e.createElement("div", { className: "grid gap-1" }, a && /* @__PURE__ */ e.createElement(E, null, /* @__PURE__ */ e.createElement(o, { variant: "body3", className: "text-light-2" }, a)), l && /* @__PURE__ */ e.createElement(T, null, /* @__PURE__ */ e.createElement(o, { variant: "body4", className: "text-light-4" }, l)), /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
17
|
+
u,
|
|
30
18
|
{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
onClick: () => m(!r)
|
|
19
|
+
altText: t?.altText ?? "",
|
|
20
|
+
onClick: t?.method,
|
|
21
|
+
className: "p-0 m-0"
|
|
35
22
|
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
)
|
|
40
|
-
), /* @__PURE__ */ e.createElement(
|
|
41
|
-
I,
|
|
42
|
-
{
|
|
43
|
-
className: "w-full p-0 bg-light-1",
|
|
44
|
-
onEscapeKeyDown: () => m(!1),
|
|
45
|
-
container: p
|
|
46
|
-
},
|
|
47
|
-
/* @__PURE__ */ e.createElement(d, { className: c }, s && /* @__PURE__ */ e.createElement(y, { showIcon: !0, placeholder: "Search ..." }), /* @__PURE__ */ e.createElement(C, { className: "" }, /* @__PURE__ */ e.createElement(x, null, /* @__PURE__ */ e.createElement(l, { variant: "body3" }, "No items found")), /* @__PURE__ */ e.createElement(N, { className: "px-0 my-1 overflow-y-auto max-h-64 custom-scrollbar" }, n.map((t) => /* @__PURE__ */ e.createElement("div", { key: t.value, className: "py-0.5 px-1.5 bg-light-1 " }, /* @__PURE__ */ e.createElement(
|
|
48
|
-
w,
|
|
49
|
-
{
|
|
50
|
-
key: t.value,
|
|
51
|
-
className: `justify-between p-2 rounded-md text-light-2 ${a.indexOf(t.value) !== -1 ? "bg-light-2" : ""}`,
|
|
52
|
-
onSelect: () => {
|
|
53
|
-
o(
|
|
54
|
-
a.includes(t.value) ? a.filter((u) => u !== t.value) : [...a, t.value]
|
|
55
|
-
), m(!0);
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
/* @__PURE__ */ e.createElement("div", { className: "flex items-center gap-1" }, t.icon, /* @__PURE__ */ e.createElement(l, { variant: "body2" }, t.label)),
|
|
59
|
-
/* @__PURE__ */ e.createElement(
|
|
60
|
-
v,
|
|
61
|
-
{
|
|
62
|
-
className: g(
|
|
63
|
-
"h-5 w-5 stroke-brand",
|
|
64
|
-
a.includes(t.value) ? "opacity-100" : "opacity-0"
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
)
|
|
68
|
-
))))))
|
|
69
|
-
));
|
|
23
|
+
/* @__PURE__ */ e.createElement(v, { variant: "link-primary" }, t?.title)
|
|
24
|
+
)))), /* @__PURE__ */ e.createElement(d, null));
|
|
25
|
+
}), /* @__PURE__ */ e.createElement(f, null));
|
|
70
26
|
}
|
|
71
27
|
export {
|
|
72
|
-
|
|
28
|
+
b as Toast,
|
|
29
|
+
g as useToast
|
|
73
30
|
};
|
|
74
31
|
//# sourceMappingURL=index.es34.js.map
|
package/dist/index.es34.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es34.js","sources":["../src/components/molecules/
|
|
1
|
+
{"version":3,"file":"index.es34.js","sources":["../src/components/molecules/toast/toast.tsx"],"sourcesContent":["'use client'\n\nimport React from 'react'\n\nimport {\n ToastPrimitive,\n ToastAction,\n ToastClose,\n ToastDescription,\n ToastProvider,\n ToastTitle,\n ToastViewport,\n ToastIcon,\n} from './toast-components'\nimport { useToast } from './use-toast'\nimport { Typography } from '../../atoms/typography'\nimport { Button } from '../../atoms/button'\n\nfunction Toast() {\n const { toasts } = useToast()\n\n return (\n <ToastProvider>\n {toasts.map(function ({\n id,\n title,\n description,\n action,\n icon,\n ...props\n }) {\n return (\n <ToastPrimitive key={id} {...props}>\n <div className=\"grid grid-flow-col gap-2\">\n {icon && <ToastIcon icon={icon} />}\n <div className=\"grid gap-1\">\n {title && (\n <ToastTitle>\n <Typography variant={'body3'} className=\"text-light-2\">\n {title}\n </Typography>\n </ToastTitle>\n )}\n {description && (\n <ToastDescription>\n <Typography variant={'body4'} className=\"text-light-4\">\n {description}\n </Typography>\n </ToastDescription>\n )}\n <div>\n <ToastAction\n altText={action?.altText ?? ''}\n onClick={action?.method}\n className=\"p-0 m-0\"\n >\n <Button variant={'link-primary'}>{action?.title}</Button>\n </ToastAction>\n </div>\n </div>\n </div>\n\n <ToastClose />\n </ToastPrimitive>\n )\n })}\n <ToastViewport />\n </ToastProvider>\n )\n}\n\nexport { Toast, useToast }\n"],"names":["Toast","toasts","useToast","React","ToastProvider","id","title","description","action","icon","props","ToastPrimitive","ToastIcon","ToastTitle","Typography","ToastDescription","ToastAction","Button","ToastClose","ToastViewport"],"mappings":";;;;;AAkBA,SAASA,IAAQ;AACf,QAAM,EAAE,QAAAC,EAAA,IAAWC,EAAA;AAEnB,SACEC,gBAAAA,EAAA,cAACC,GAAA,MACEH,EAAO,IAAI,SAAU;AAAA,IACpB,IAAAI;AAAA,IACA,OAAAC;AAAA,IACA,aAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,GACF;AACD,WACEP,gBAAAA,EAAA,cAACQ,KAAe,KAAKN,GAAK,GAAGK,EAAA,GAC3BP,gBAAAA,EAAA,cAAC,SAAI,WAAU,2BAAA,GACZM,KAAQN,gBAAAA,EAAA,cAACS,GAAA,EAAU,MAAAH,GAAY,GAChCN,gBAAAA,EAAA,cAAC,SAAI,WAAU,aAAA,GACZG,KACCH,gBAAAA,EAAA,cAACU,GAAA,sCACEC,GAAA,EAAW,SAAS,SAAS,WAAU,eAAA,GACrCR,CACH,CACF,GAEDC,KACCJ,gBAAAA,EAAA,cAACY,GAAA,sCACED,GAAA,EAAW,SAAS,SAAS,WAAU,eAAA,GACrCP,CACH,CACF,mCAED,OAAA,MACCJ,gBAAAA,EAAA;AAAA,MAACa;AAAA,MAAA;AAAA,QACC,SAASR,GAAQ,WAAW;AAAA,QAC5B,SAASA,GAAQ;AAAA,QACjB,WAAU;AAAA,MAAA;AAAA,MAEVL,gBAAAA,EAAA,cAACc,GAAA,EAAO,SAAS,eAAA,GAAiBT,GAAQ,KAAM;AAAA,IAAA,CAEpD,CACF,CACF,GAEAL,gBAAAA,EAAA,cAACe,OAAW,CACd;AAAA,EAEJ,CAAC,GACDf,gBAAAA,EAAA,cAACgB,GAAA,IAAc,CACjB;AAEJ;"}
|
package/dist/index.es35.js
CHANGED
|
@@ -1,15 +1,88 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
import * as a from "@radix-ui/react-toast";
|
|
3
|
+
import { cva as i } from "class-variance-authority";
|
|
4
|
+
import { X as l } from "lucide-react";
|
|
5
|
+
import { cn as s } from "./index.es89.js";
|
|
6
|
+
import c from "./index.es93.js";
|
|
7
|
+
import d from "./index.es94.js";
|
|
8
|
+
import m from "./index.es95.js";
|
|
9
|
+
import p from "./index.es96.js";
|
|
10
|
+
const D = a.Provider, f = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(
|
|
11
|
+
a.Viewport,
|
|
12
|
+
{
|
|
13
|
+
ref: r,
|
|
14
|
+
className: s(
|
|
15
|
+
"pointer-events-none fixed bottom-0 right-0 z-[100] flex h-fit w-full flex-col p-4 md:max-w-[420px]",
|
|
16
|
+
t
|
|
17
|
+
),
|
|
18
|
+
...o
|
|
19
|
+
}
|
|
20
|
+
));
|
|
21
|
+
f.displayName = a.Viewport.displayName;
|
|
22
|
+
const u = i(
|
|
23
|
+
"group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-4 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full",
|
|
24
|
+
{
|
|
25
|
+
variants: {
|
|
26
|
+
variant: {
|
|
27
|
+
default: "bg-light-1 border text-foreground"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
defaultVariants: {
|
|
31
|
+
variant: "default"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
), w = e.forwardRef(({ className: t, variant: o, ...r }, n) => /* @__PURE__ */ e.createElement(
|
|
35
|
+
a.Root,
|
|
36
|
+
{
|
|
37
|
+
ref: n,
|
|
38
|
+
className: s(u({ variant: o }), t),
|
|
39
|
+
...r
|
|
40
|
+
}
|
|
41
|
+
));
|
|
42
|
+
w.displayName = a.Root.displayName;
|
|
43
|
+
const v = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(a.Action, { ref: r, className: s(t), ...o }));
|
|
44
|
+
v.displayName = a.Action.displayName;
|
|
45
|
+
const x = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(
|
|
46
|
+
a.Close,
|
|
47
|
+
{
|
|
48
|
+
ref: r,
|
|
49
|
+
className: s(
|
|
50
|
+
"absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 ",
|
|
51
|
+
t
|
|
52
|
+
),
|
|
53
|
+
"toast-close": "",
|
|
54
|
+
...o
|
|
55
|
+
},
|
|
56
|
+
/* @__PURE__ */ e.createElement(l, { className: "w-4 h-4" })
|
|
57
|
+
));
|
|
58
|
+
x.displayName = a.Close.displayName;
|
|
59
|
+
const y = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(a.Title, { ref: r, className: t, ...o }));
|
|
60
|
+
y.displayName = a.Title.displayName;
|
|
61
|
+
const N = e.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e.createElement(a.Description, { ref: r, className: t, ...o }));
|
|
62
|
+
N.displayName = a.Description.displayName;
|
|
63
|
+
const g = ({ icon: t }) => {
|
|
64
|
+
switch (t) {
|
|
65
|
+
case "success":
|
|
66
|
+
return /* @__PURE__ */ e.createElement(d, null);
|
|
67
|
+
case "info":
|
|
68
|
+
return /* @__PURE__ */ e.createElement(c, null);
|
|
69
|
+
case "danger":
|
|
70
|
+
return /* @__PURE__ */ e.createElement(m, null);
|
|
71
|
+
case "warning":
|
|
72
|
+
return /* @__PURE__ */ e.createElement(p, null);
|
|
73
|
+
default:
|
|
74
|
+
return /* @__PURE__ */ e.createElement("div", null);
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
g.displayName = "ToastIcon";
|
|
12
78
|
export {
|
|
13
|
-
|
|
79
|
+
v as ToastAction,
|
|
80
|
+
x as ToastClose,
|
|
81
|
+
N as ToastDescription,
|
|
82
|
+
g as ToastIcon,
|
|
83
|
+
w as ToastPrimitive,
|
|
84
|
+
D as ToastProvider,
|
|
85
|
+
y as ToastTitle,
|
|
86
|
+
f as ToastViewport
|
|
14
87
|
};
|
|
15
88
|
//# sourceMappingURL=index.es35.js.map
|