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.es100.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es100.js","sources":["../src/components/ui/agent-snippet-view/components/shared-markets-section.tsx"],"sourcesContent":["import React from 'react'\nimport { Accordion } from '@/components/atoms/accordion'\nimport { Typography } from '@/components/atoms/typography'\n\nexport const SharedMarketsSection: React.FC<{\n sharedMarkets?: React.ReactNode\n}> = ({ sharedMarkets }) =>\n sharedMarkets ? (\n <Accordion\n trigger={\n <Typography variant=\"body1\" className=\"text-light-2\">\n Shared markets\n </Typography>\n }\n content={<div>{sharedMarkets}</div>}\n triggerProps={{ className: 'cursor-pointer my-2' }}\n />\n ) : null\n"],"names":["SharedMarketsSection","sharedMarkets","React","Accordion","Typography"],"mappings":";;;AAIO,MAAMA,IAER,CAAC,EAAE,eAAAC,EAAA,MACNA,IACEC,gBAAAA,EAAA;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,SACED,gBAAAA,EAAA,cAACE,GAAA,EAAW,SAAQ,SAAQ,WAAU,kBAAe,gBAErD;AAAA,IAEF,SAASF,gBAAAA,EAAA,cAAC,OAAA,MAAKD,CAAc;AAAA,IAC7B,cAAc,EAAE,WAAW,sBAAA;AAAA,EAAsB;AACnD,IACE;"}
|
|
1
|
+
{"version":3,"file":"index.es100.js","sources":["../src/components/molecules/dropdown-menu/dropdown-menu-components.tsx"],"sourcesContent":["'use client'\n\nimport * as React from 'react'\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { Check, ChevronRight, Circle } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"w-4 h-4 ml-auto\" />\n </DropdownMenuPrimitive.SubTrigger>\n))\nDropdownMenuSubTrigger.displayName =\n DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n))\nDropdownMenuSubContent.displayName =\n DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> &\n Pick<\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Portal>,\n 'container'\n >\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal container={props?.container}>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => {\n return (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex select-none items-center rounded-md outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:opacity-50 cursor-pointer data-[disabled]:cursor-not-allowed',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n )\n})\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n checked={checked}\n disabled\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Check className=\"w-4 h-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName =\n DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Circle className=\"w-2 h-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn(\n 'px-2 py-1.5 text-sm font-semibold',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn('-mx-1 my-1 h-px bg-muted', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLSpanElement>) => {\n return (\n <span\n className={cn('ml-auto text-xs tracking-widest opacity-60', className)}\n {...props}\n />\n )\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n"],"names":["DropdownMenu","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuSubTrigger","React","className","inset","children","props","ref","cn","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator"],"mappings":"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"}
|
package/dist/index.es101.js
CHANGED
|
@@ -1,101 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const G = ({
|
|
15
|
-
properties: n = [],
|
|
16
|
-
title: s = "Properties added",
|
|
17
|
-
property_count: i,
|
|
18
|
-
onRedirect: o,
|
|
19
|
-
onReachBottom: d,
|
|
20
|
-
onSearchChange: g,
|
|
21
|
-
loading: f = !1
|
|
22
|
-
}) => {
|
|
23
|
-
const c = m(null), p = m(!1), [u, h] = N(""), E = (t) => {
|
|
24
|
-
h(t.target.value), g?.(t.target.value), c.current && (c.current.scrollTop = 0);
|
|
25
|
-
};
|
|
26
|
-
b(() => {
|
|
27
|
-
p.current = !1;
|
|
28
|
-
}, [n]);
|
|
29
|
-
const x = (t) => {
|
|
30
|
-
const { scrollTop: l, scrollHeight: a, clientHeight: v } = t.currentTarget;
|
|
31
|
-
l + v >= a - 5 && d?.();
|
|
32
|
-
};
|
|
33
|
-
return /* @__PURE__ */ e.createElement(
|
|
34
|
-
y,
|
|
35
|
-
{
|
|
36
|
-
trigger: /* @__PURE__ */ e.createElement(r, { variant: "body1", className: "text-light-2" }, s, " (", i, ")"),
|
|
37
|
-
content: /* @__PURE__ */ e.createElement(
|
|
38
|
-
"div",
|
|
39
|
-
{
|
|
40
|
-
ref: c,
|
|
41
|
-
onScroll: x,
|
|
42
|
-
className: "max-h-[400px] overflow-y-auto"
|
|
43
|
-
},
|
|
44
|
-
/* @__PURE__ */ e.createElement("div", { className: "w-full sticky top-0 bg-light-1 z-50 pb-2" }, /* @__PURE__ */ e.createElement(
|
|
45
|
-
k,
|
|
46
|
-
{
|
|
47
|
-
placeholder: "Search properties",
|
|
48
|
-
prefix: /* @__PURE__ */ e.createElement(w, { className: "stroke-light-2", size: 20 }),
|
|
49
|
-
value: u,
|
|
50
|
-
onChange: E
|
|
51
|
-
}
|
|
52
|
-
)),
|
|
53
|
-
n.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: "flex justify-center items-center h-20 text-light-3" }, "No property found") : /* @__PURE__ */ e.createElement(e.Fragment, null, n.map((t) => /* @__PURE__ */ e.createElement(
|
|
54
|
-
"div",
|
|
55
|
-
{
|
|
56
|
-
key: t.id,
|
|
57
|
-
className: "rounded-[12px] border border-neutral-1 bg-light-2 p-3 mb-3 flex flex-col gap-2 "
|
|
58
|
-
},
|
|
59
|
-
/* @__PURE__ */ e.createElement("div", { className: "w-full flex justify-between items-start" }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement("div", { className: "flex items-center gap-2 mb-3 p-0" }, /* @__PURE__ */ e.createElement(r, { variant: "body4", className: "text-light-2 " }, t.name), /* @__PURE__ */ e.createElement(
|
|
60
|
-
S,
|
|
61
|
-
{
|
|
62
|
-
variant: "secondary",
|
|
63
|
-
size: "sm",
|
|
64
|
-
className: "w-fit ml-auto",
|
|
65
|
-
onClick: () => o?.(t)
|
|
66
|
-
},
|
|
67
|
-
/* @__PURE__ */ e.createElement(
|
|
68
|
-
_,
|
|
69
|
-
{
|
|
70
|
-
size: 16,
|
|
71
|
-
className: "text-light-1 cursor-pointer bg-light-1"
|
|
72
|
-
}
|
|
73
|
-
)
|
|
74
|
-
)), /* @__PURE__ */ e.createElement("div", { className: "flex w-[372px] rounded-lg p-3 bg-light-1" }, t.property_details && t.property_details.length > 0 && /* @__PURE__ */ e.createElement("div", { className: "flex w-full rounded-lg p-0 bg-light-1" }, t.property_details && t.property_details.length > 0 && t.property_details.map(
|
|
75
|
-
(l, a) => /* @__PURE__ */ e.createElement(e.Fragment, { key: a }, /* @__PURE__ */ e.createElement("div", { className: "flex flex-col min-w-0" }, /* @__PURE__ */ e.createElement("div", { className: "truncate font-medium" }, /* @__PURE__ */ e.createElement(
|
|
76
|
-
r,
|
|
77
|
-
{
|
|
78
|
-
variant: "body6",
|
|
79
|
-
className: "text-light-4"
|
|
80
|
-
},
|
|
81
|
-
l.name
|
|
82
|
-
), " "), /* @__PURE__ */ e.createElement("div", { className: "truncate text-light-3" }, /* @__PURE__ */ e.createElement(
|
|
83
|
-
r,
|
|
84
|
-
{
|
|
85
|
-
variant: "body6",
|
|
86
|
-
className: "text-light-2"
|
|
87
|
-
},
|
|
88
|
-
l.value
|
|
89
|
-
))), t.property_details && a !== t.property_details.length - 1 && /* @__PURE__ */ e.createElement("div", { className: "h-auto w-px border-l mx-3 border-neutral-2" }))
|
|
90
|
-
)))))
|
|
91
|
-
)), f && /* @__PURE__ */ e.createElement("div", { className: "left-0 right-0 bottom-0 flex justify-center items-center py-4" }, /* @__PURE__ */ e.createElement(z, null)))
|
|
92
|
-
),
|
|
93
|
-
triggerProps: { className: "cursor-pointer my-2" },
|
|
94
|
-
contentProps: { className: "max-h-[400px] overflow-y-auto" }
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
const r = t(
|
|
3
|
+
"rounded hover:text-light-2 hover:stroke-light-1 hover:bg-light-3 ",
|
|
4
|
+
{
|
|
5
|
+
variants: {
|
|
6
|
+
type: {
|
|
7
|
+
icon: "p-1",
|
|
8
|
+
text: "px-2 py-1"
|
|
9
|
+
},
|
|
10
|
+
isSelected: {
|
|
11
|
+
true: "text-light-2 stroke-light-1 bg-light-3",
|
|
12
|
+
false: "text-light-3 stroke-light-2"
|
|
13
|
+
}
|
|
95
14
|
}
|
|
96
|
-
|
|
97
|
-
|
|
15
|
+
}
|
|
16
|
+
);
|
|
98
17
|
export {
|
|
99
|
-
|
|
18
|
+
r as CrumbVariants
|
|
100
19
|
};
|
|
101
20
|
//# sourceMappingURL=index.es101.js.map
|
package/dist/index.es101.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es101.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es101.js","sources":["../src/components/molecules/breadcrumb/breadcrumb.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const CrumbVariants = cva(\n 'rounded hover:text-light-2 hover:stroke-light-1 hover:bg-light-3 ',\n {\n variants: {\n type: {\n icon: 'p-1',\n text: 'px-2 py-1',\n },\n isSelected: {\n true: 'text-light-2 stroke-light-1 bg-light-3',\n false: 'text-light-3 stroke-light-2',\n },\n },\n }\n)\n"],"names":["CrumbVariants","cva"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA,QACJ,MAAM;AAAA,QACN,MAAM;AAAA,MAAA;AAAA,MAER,YAAY;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,EACF;AAEJ;"}
|
package/dist/index.es102.js
CHANGED
|
@@ -1,67 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { Button as p } from "./index.es7.js";
|
|
5
|
-
import { FileText as d } from "lucide-react";
|
|
6
|
-
import { Spinner as g } from "./index.es57.js";
|
|
7
|
-
import { AvatarDemo as f } from "./index.es4.js";
|
|
8
|
-
import "clsx";
|
|
9
|
-
import "tailwind-merge";
|
|
10
|
-
import "./index.es53.js";
|
|
11
|
-
import "./index.es82.js";
|
|
12
|
-
import "./index.es26.js";
|
|
13
|
-
import "./index.es32.js";
|
|
14
|
-
const D = ({ notes: r, onAddNote: l, notesLoading: o }) => /* @__PURE__ */ e.createElement(
|
|
15
|
-
c,
|
|
1
|
+
import { cva as t } from "class-variance-authority";
|
|
2
|
+
const r = t(
|
|
3
|
+
"relative rounded-xl flex flex-row h-full items-start gap-2 border px-4 py-4 text-sm ",
|
|
16
4
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
onClick: l
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {
|
|
7
|
+
info: " text-text4 dark:border-danger [&>svg]:text-danger bg-info-1",
|
|
8
|
+
success: "text-text4 dark:border-danger [&>svg]:text-danger bg-success-1",
|
|
9
|
+
warning: "text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ",
|
|
10
|
+
error: " text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1",
|
|
11
|
+
default: "text-text4 bg-background text-foreground"
|
|
25
12
|
},
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
hour: "2-digit",
|
|
31
|
-
minute: "2-digit"
|
|
32
|
-
});
|
|
33
|
-
return /* @__PURE__ */ e.createElement(
|
|
34
|
-
"div",
|
|
35
|
-
{
|
|
36
|
-
key: m,
|
|
37
|
-
className: `flex items-start gap-3 py-3 ${m !== r.length - 1 ? "border-b border-neutral-2" : ""}`
|
|
38
|
-
},
|
|
39
|
-
/* @__PURE__ */ e.createElement(
|
|
40
|
-
f,
|
|
41
|
-
{
|
|
42
|
-
imageSrc: t.user.image_url || "",
|
|
43
|
-
alt: t.user.first_name,
|
|
44
|
-
fallback: t.user.first_name?.[0]?.toUpperCase() || "",
|
|
45
|
-
size: "md"
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ e.createElement("div", { className: "mr-3 flex w-full justify-between" }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
49
|
-
a,
|
|
50
|
-
{
|
|
51
|
-
variant: "body2",
|
|
52
|
-
className: "mt-1 max-w-[250px] whitespace-pre-line break-words text-light-3"
|
|
53
|
-
},
|
|
54
|
-
t.note
|
|
55
|
-
), t.call_duration && /* @__PURE__ */ e.createElement(a, { variant: "body6", className: "text-light-4 mt-1" }, t.call_duration)), /* @__PURE__ */ e.createElement("div", { className: "flex flex-col gap-1" }, /* @__PURE__ */ e.createElement(a, { variant: "body6", className: "text-light-2" }, n), /* @__PURE__ */ e.createElement(a, { variant: "body6", className: "text-light-4" }, s)))
|
|
56
|
-
);
|
|
57
|
-
})),
|
|
58
|
-
triggerProps: {
|
|
59
|
-
className: "cursor-pointer my-2"
|
|
13
|
+
shortContent: {
|
|
14
|
+
true: "items-center flex flex-row gap-3",
|
|
15
|
+
false: ""
|
|
16
|
+
}
|
|
60
17
|
},
|
|
61
|
-
|
|
18
|
+
defaultVariants: {
|
|
19
|
+
variant: "info"
|
|
20
|
+
}
|
|
62
21
|
}
|
|
63
|
-
)
|
|
22
|
+
), a = t("", {
|
|
23
|
+
variants: {
|
|
24
|
+
shortContent: {
|
|
25
|
+
true: "justify-between w-full items-center flex flex-row gap-3",
|
|
26
|
+
false: "flex flex-col gap-2 justify-start items-start"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
shortContent: !1
|
|
31
|
+
}
|
|
32
|
+
}), n = t(" max-w-[fit-content] ", {
|
|
33
|
+
variants: {
|
|
34
|
+
shortContent: {
|
|
35
|
+
true: "bg-rest-s1",
|
|
36
|
+
false: "bg-rest-s1"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
defaultVariants: {
|
|
40
|
+
shortContent: !1
|
|
41
|
+
}
|
|
42
|
+
});
|
|
64
43
|
export {
|
|
65
|
-
|
|
44
|
+
n as AlertButtonVariants,
|
|
45
|
+
a as AlertContentVariants,
|
|
46
|
+
r as AlertVariants
|
|
66
47
|
};
|
|
67
48
|
//# sourceMappingURL=index.es102.js.map
|
package/dist/index.es102.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es102.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es102.js","sources":["../src/components/molecules/alert/alert.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const AlertVariants = cva(\n 'relative rounded-xl flex flex-row h-full items-start gap-2 border px-4 py-4 text-sm ',\n {\n variants: {\n variant: {\n info: ' text-text4 dark:border-danger [&>svg]:text-danger bg-info-1',\n success:\n 'text-text4 dark:border-danger [&>svg]:text-danger bg-success-1',\n warning:\n 'text-text4 dark:border-danger [&>svg]:text-danger bg-warning-1 ',\n error:\n ' text-text4 dark:border-danger [&>svg]:text-danger bg-danger-1',\n default: 'text-text4 bg-background text-foreground',\n },\n shortContent: {\n true: 'items-center flex flex-row gap-3',\n false: '',\n },\n },\n defaultVariants: {\n variant: 'info',\n },\n }\n)\n\nexport const AlertContentVariants = cva('', {\n variants: {\n shortContent: {\n true: 'justify-between w-full items-center flex flex-row gap-3',\n false: 'flex flex-col gap-2 justify-start items-start',\n },\n },\n defaultVariants: {\n shortContent: false,\n },\n})\n\nexport const AlertButtonVariants = cva(' max-w-[fit-content] ', {\n variants: {\n shortContent: {\n true: 'bg-rest-s1',\n false: 'bg-rest-s1',\n },\n },\n defaultVariants: {\n shortContent: false,\n },\n})\n"],"names":["AlertVariants","cva","AlertContentVariants","AlertButtonVariants"],"mappings":";AAEO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,SACE;AAAA,QACF,SACE;AAAA,QACF,OACE;AAAA,QACF,SAAS;AAAA,MAAA;AAAA,MAEX,cAAc;AAAA,QACZ,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ,GAEaC,IAAuBD,EAAI,IAAI;AAAA,EAC1C,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,EACT;AAAA,EAEF,iBAAiB;AAAA,IACf,cAAc;AAAA,EAAA;AAElB,CAAC,GAEYE,IAAsBF,EAAI,yBAAyB;AAAA,EAC9D,UAAU;AAAA,IACR,cAAc;AAAA,MACZ,MAAM;AAAA,MACN,OAAO;AAAA,IAAA;AAAA,EACT;AAAA,EAEF,iBAAiB;AAAA,IACf,cAAc;AAAA,EAAA;AAElB,CAAC;"}
|
package/dist/index.es103.js
CHANGED
|
@@ -1,58 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onSave: l
|
|
13
|
-
}) => /* @__PURE__ */ e.createElement(
|
|
14
|
-
c,
|
|
15
|
-
{
|
|
16
|
-
trigger: null,
|
|
17
|
-
contentClassName: "h-fit w-fit",
|
|
18
|
-
open: m,
|
|
19
|
-
onInteractOutside: t,
|
|
20
|
-
body: /* @__PURE__ */ e.createElement("div", { className: "p-4" }, /* @__PURE__ */ e.createElement(
|
|
21
|
-
p,
|
|
22
|
-
{
|
|
23
|
-
variant: "h3",
|
|
24
|
-
className: "mb-2 flex items-center justify-between text-light-2"
|
|
25
|
-
},
|
|
26
|
-
"Add notes",
|
|
27
|
-
/* @__PURE__ */ e.createElement(
|
|
28
|
-
o,
|
|
29
|
-
{
|
|
30
|
-
size: 16,
|
|
31
|
-
className: "cursor-pointer justify-end text-light-1",
|
|
32
|
-
onClick: t
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
), /* @__PURE__ */ e.createElement(
|
|
36
|
-
s,
|
|
37
|
-
{
|
|
38
|
-
value: a,
|
|
39
|
-
placeholder: "Add notes",
|
|
40
|
-
onChange: (n) => i(n.target.value),
|
|
41
|
-
className: "h-[200px] w-[400px]"
|
|
42
|
-
}
|
|
43
|
-
), /* @__PURE__ */ e.createElement("div", { className: "mt-4 flex gap-2" }, /* @__PURE__ */ e.createElement(
|
|
44
|
-
r,
|
|
45
|
-
{
|
|
46
|
-
size: "sm",
|
|
47
|
-
variant: "primary",
|
|
48
|
-
onClick: l,
|
|
49
|
-
disabled: !a.trim()
|
|
50
|
-
},
|
|
51
|
-
"Save"
|
|
52
|
-
), /* @__PURE__ */ e.createElement(r, { size: "sm", variant: "secondary", onClick: t }, "Cancel")))
|
|
1
|
+
import { cva as s } from "class-variance-authority";
|
|
2
|
+
const o = s("", {
|
|
3
|
+
variants: {
|
|
4
|
+
bgColor: {
|
|
5
|
+
success: "bg-success-2",
|
|
6
|
+
danger: "bg-danger-2",
|
|
7
|
+
stroke: "bg-light-4"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
defaultVariants: {
|
|
11
|
+
bgColor: "success"
|
|
53
12
|
}
|
|
54
|
-
);
|
|
13
|
+
});
|
|
55
14
|
export {
|
|
56
|
-
|
|
15
|
+
o as SliderBgColorVariants
|
|
57
16
|
};
|
|
58
17
|
//# sourceMappingURL=index.es103.js.map
|
package/dist/index.es103.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es103.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es103.js","sources":["../src/components/molecules/polar-slider/polar-slider.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const SliderBgColorVariants = cva('', {\n variants: {\n bgColor: {\n success: 'bg-success-2',\n danger: 'bg-danger-2',\n stroke: 'bg-light-4',\n },\n },\n defaultVariants: {\n bgColor: 'success',\n },\n})\n"],"names":["SliderBgColorVariants","cva"],"mappings":";AAEO,MAAMA,IAAwBC,EAAI,IAAI;AAAA,EAC3C,UAAU;AAAA,IACR,SAAS;AAAA,MACP,SAAS;AAAA,MACT,QAAQ;AAAA,MACR,QAAQ;AAAA,IAAA;AAAA,EACV;AAAA,EAEF,iBAAiB;AAAA,IACf,SAAS;AAAA,EAAA;AAEb,CAAC;"}
|
package/dist/index.es104.js
CHANGED
|
@@ -1,14 +1,77 @@
|
|
|
1
1
|
import { cva as e } from "class-variance-authority";
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const t = e(
|
|
3
|
+
` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg
|
|
4
|
+
text-light-2 px-3 py-2
|
|
5
|
+
file:border-0 file:bg-transparent
|
|
6
|
+
placeholder:font-normal placeholder:text-light-4`,
|
|
4
7
|
{
|
|
5
8
|
variants: {
|
|
6
|
-
|
|
9
|
+
isError: {
|
|
10
|
+
true: "",
|
|
11
|
+
false: ""
|
|
12
|
+
},
|
|
13
|
+
isFocused: {
|
|
14
|
+
true: "",
|
|
15
|
+
false: ""
|
|
16
|
+
},
|
|
17
|
+
disabled: {
|
|
18
|
+
true: "bg-light-3 border-neutral-2 cursor-not-allowed",
|
|
19
|
+
false: ""
|
|
20
|
+
}
|
|
7
21
|
},
|
|
8
|
-
defaultVariants: {
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
isError: !1
|
|
24
|
+
},
|
|
25
|
+
compoundVariants: [
|
|
26
|
+
{
|
|
27
|
+
isError: !0,
|
|
28
|
+
isFocused: !0,
|
|
29
|
+
className: "border-danger-2 ring-4 ring-danger-1"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
isError: !1,
|
|
33
|
+
isFocused: !0,
|
|
34
|
+
className: "border-primary-2 ring-4 ring-primary-1"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
isError: !0,
|
|
38
|
+
isFocused: !1,
|
|
39
|
+
className: "border-danger-2"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
isError: !1,
|
|
43
|
+
isFocused: !1,
|
|
44
|
+
className: "border-light-2"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
), a = e(
|
|
49
|
+
"outline-none w-full h-full bg-transparent disabled:cursor-not-allowed placeholder:font-normal placeholder:text-light-4",
|
|
50
|
+
{
|
|
51
|
+
variants: {
|
|
52
|
+
isError: {
|
|
53
|
+
true: "text-danger-1",
|
|
54
|
+
false: "text-light-2"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
), s = e(
|
|
59
|
+
"absolute top-[7px] text-top transition-transform duration-500 text-light-4 pointer-events-none ",
|
|
60
|
+
{
|
|
61
|
+
variants: {
|
|
62
|
+
animate: {
|
|
63
|
+
true: "",
|
|
64
|
+
false: ""
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
defaultVariants: {
|
|
68
|
+
animate: !1
|
|
69
|
+
}
|
|
9
70
|
}
|
|
10
71
|
);
|
|
11
72
|
export {
|
|
12
|
-
|
|
73
|
+
t as AnimatedInputContainerVariants,
|
|
74
|
+
a as AnimatedInputStyles,
|
|
75
|
+
s as DynamicComponentStyles
|
|
13
76
|
};
|
|
14
77
|
//# sourceMappingURL=index.es104.js.map
|
package/dist/index.es104.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es104.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es104.js","sources":["../src/components/ui/animated-input/animated-input.styles.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nexport const AnimatedInputContainerVariants = cva(\n ` h-[38px] w-full border flex items-center justify-between gap-1.5 relative mt-1.5 rounded-lg \n text-light-2 px-3 py-2\n file:border-0 file:bg-transparent\n placeholder:font-normal placeholder:text-light-4`,\n {\n variants: {\n isError: {\n true: '',\n false: '',\n },\n isFocused: {\n true: '',\n false: '',\n },\n disabled: {\n true: 'bg-light-3 border-neutral-2 cursor-not-allowed',\n false: '',\n },\n },\n defaultVariants: {\n isError: false,\n },\n compoundVariants: [\n {\n isError: true,\n isFocused: true,\n className: 'border-danger-2 ring-4 ring-danger-1',\n },\n {\n isError: false,\n isFocused: true,\n className: 'border-primary-2 ring-4 ring-primary-1',\n },\n {\n isError: true,\n isFocused: false,\n className: 'border-danger-2',\n },\n {\n isError: false,\n isFocused: false,\n className: 'border-light-2',\n },\n ],\n }\n)\n\nexport const AnimatedInputStyles = cva(\n `outline-none w-full h-full bg-transparent disabled:cursor-not-allowed placeholder:font-normal placeholder:text-light-4`,\n {\n variants: {\n isError: {\n true: 'text-danger-1',\n false: 'text-light-2',\n },\n },\n }\n)\n\nexport const DynamicComponentStyles = cva(\n `absolute top-[7px] text-top transition-transform duration-500 text-light-4 pointer-events-none `,\n {\n variants: {\n animate: {\n true: '',\n false: '',\n },\n },\n defaultVariants: {\n animate: false,\n },\n }\n)\n"],"names":["AnimatedInputContainerVariants","cva","AnimatedInputStyles","DynamicComponentStyles"],"mappings":";AAEO,MAAMA,IAAiCC;AAAA,EAC5C;AAAA;AAAA;AAAA;AAAA,EAIA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,MAET,WAAW;AAAA,QACT,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,MAET,UAAU;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,IAEX,kBAAkB;AAAA,MAChB;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,MAEb;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,MAEb;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,MAEb;AAAA,QACE,SAAS;AAAA,QACT,WAAW;AAAA,QACX,WAAW;AAAA,MAAA;AAAA,IACb;AAAA,EACF;AAEJ,GAEaC,IAAsBD;AAAA,EACjC;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,EACF;AAEJ,GAEaE,IAAyBF;AAAA,EACpC;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,MAAM;AAAA,QACN,OAAO;AAAA,MAAA;AAAA,IACT;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;"}
|
package/dist/index.es105.js
CHANGED
|
@@ -1,14 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import a from "react";
|
|
2
|
+
import { AccordionDemo as l } from "./index.es4.js";
|
|
3
|
+
import { AvatarDemo as o } from "./index.es6.js";
|
|
4
|
+
import { Typography as r } from "./index.es19.js";
|
|
5
|
+
const p = ({ members: t }) => t.length > 0 ? /* @__PURE__ */ a.createElement(
|
|
6
|
+
l,
|
|
4
7
|
{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
trigger: /* @__PURE__ */ a.createElement("div", { className: "flex items-center gap-1" }, /* @__PURE__ */ a.createElement(r, { variant: "body1", className: "text-light-2" }, "Members (", t.length, ")")),
|
|
9
|
+
content: /* @__PURE__ */ a.createElement("div", { className: "flex flex-col gap-2" }, t.map((e) => /* @__PURE__ */ a.createElement(
|
|
10
|
+
"div",
|
|
11
|
+
{
|
|
12
|
+
key: e.id,
|
|
13
|
+
className: "flex items-center gap-3 rounded-xl bg-light-2 px-4 py-3"
|
|
14
|
+
},
|
|
15
|
+
/* @__PURE__ */ a.createElement(
|
|
16
|
+
o,
|
|
17
|
+
{
|
|
18
|
+
size: "md",
|
|
19
|
+
imageSrc: e.imageSrc || "",
|
|
20
|
+
alt: e.alt || e.name,
|
|
21
|
+
fallback: e.fallback || e.name?.[0].toUpperCase() || "",
|
|
22
|
+
avatarProps: {
|
|
23
|
+
className: "border border-neutral-1 h-8 w-8 bg-light-1"
|
|
24
|
+
},
|
|
25
|
+
...e
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ a.createElement(r, { variant: "body2" }, e.name)
|
|
29
|
+
))),
|
|
30
|
+
contentProps: { className: "max-h-[400px] overflow-y-auto" },
|
|
31
|
+
triggerProps: { className: "cursor-pointer my-2" }
|
|
9
32
|
}
|
|
10
|
-
);
|
|
33
|
+
) : null;
|
|
11
34
|
export {
|
|
12
|
-
|
|
35
|
+
p as MembersSection
|
|
13
36
|
};
|
|
14
37
|
//# sourceMappingURL=index.es105.js.map
|
package/dist/index.es105.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es105.js","sources":["../src/components/
|
|
1
|
+
{"version":3,"file":"index.es105.js","sources":["../src/components/ui/agent-snippet-view/components/members-section.tsx"],"sourcesContent":["import React from 'react'\nimport { Accordion } from '@/components/atoms/accordion'\nimport { Avatar } from '@/components/atoms/avatar'\nimport { Typography } from '@/components/atoms/typography'\nimport type { Member } from '../agent-snippet-view.types'\n\nexport const MembersSection: React.FC<{\n members: Member[]\n}> = ({ members }) =>\n members.length > 0 ? (\n <Accordion\n trigger={\n <div className=\"flex items-center gap-1\">\n <Typography variant=\"body1\" className=\"text-light-2\">\n Members ({members.length})\n </Typography>\n </div>\n }\n content={\n <div className=\"flex flex-col gap-2\">\n {members.map((member) => (\n <div\n key={member.id}\n className=\"flex items-center gap-3 rounded-xl bg-light-2 px-4 py-3\"\n >\n <Avatar\n size=\"md\"\n imageSrc={member.imageSrc || ''}\n alt={member.alt || member.name}\n fallback={\n member.fallback || member.name?.[0].toUpperCase() || ''\n }\n avatarProps={{\n className: 'border border-neutral-1 h-8 w-8 bg-light-1',\n }}\n {...member}\n />\n <Typography variant=\"body2\">{member.name}</Typography>\n </div>\n ))}\n </div>\n }\n contentProps={{ className: 'max-h-[400px] overflow-y-auto' }}\n triggerProps={{ className: 'cursor-pointer my-2' }}\n />\n ) : null\n"],"names":["MembersSection","members","React","Accordion","Typography","member","Avatar"],"mappings":";;;;AAMO,MAAMA,IAER,CAAC,EAAE,SAAAC,QACNA,EAAQ,SAAS,IACfC,gBAAAA,EAAA;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,SACED,gBAAAA,EAAA,cAAC,OAAA,EAAI,WAAU,6BACbA,gBAAAA,EAAA,cAACE,GAAA,EAAW,SAAQ,SAAQ,WAAU,eAAA,GAAe,aACzCH,EAAQ,QAAO,GAC3B,CACF;AAAA,IAEF,yCACG,OAAA,EAAI,WAAU,yBACZA,EAAQ,IAAI,CAACI,MACZH,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,KAAKG,EAAO;AAAA,QACZ,WAAU;AAAA,MAAA;AAAA,MAEVH,gBAAAA,EAAA;AAAA,QAACI;AAAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,UAAUD,EAAO,YAAY;AAAA,UAC7B,KAAKA,EAAO,OAAOA,EAAO;AAAA,UAC1B,UACEA,EAAO,YAAYA,EAAO,OAAO,CAAC,EAAE,iBAAiB;AAAA,UAEvD,aAAa;AAAA,YACX,WAAW;AAAA,UAAA;AAAA,UAEZ,GAAGA;AAAA,QAAA;AAAA,MAAA;AAAA,MAENH,gBAAAA,EAAA,cAACE,GAAA,EAAW,SAAQ,QAAA,GAASC,EAAO,IAAK;AAAA,IAAA,CAE5C,CACH;AAAA,IAEF,cAAc,EAAE,WAAW,gCAAA;AAAA,IAC3B,cAAc,EAAE,WAAW,sBAAA;AAAA,EAAsB;AACnD,IACE;"}
|
package/dist/index.es106.js
CHANGED
|
@@ -1,36 +1,23 @@
|
|
|
1
1
|
import e from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
(t,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
(t, a) => /* @__PURE__ */ e.createElement(
|
|
21
|
-
i,
|
|
22
|
-
{
|
|
23
|
-
key: `cell-${a}`,
|
|
24
|
-
fill: t.color,
|
|
25
|
-
stroke: "none"
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
)
|
|
29
|
-
)))), /* @__PURE__ */ e.createElement("div", { className: "flex flex-col gap-4" }, l?.map(
|
|
30
|
-
(t, a) => /* @__PURE__ */ e.createElement("div", { key: a, className: "flex flex-col gap-1" }, /* @__PURE__ */ e.createElement("div", { className: "flex items-center gap-1" }, /* @__PURE__ */ e.createElement("img", { src: t.icon_url, alt: t.name || "Brand icon" }), /* @__PURE__ */ e.createElement(r, { variant: "body4", className: "text-light-3" }, t.name)), /* @__PURE__ */ e.createElement(r, { variant: "body4", className: "text-light-2" }, (t.count / n * 100).toFixed(2), "% (", t.count, ")"))
|
|
31
|
-
)));
|
|
32
|
-
}
|
|
2
|
+
import { AccordionDemo as m } from "./index.es4.js";
|
|
3
|
+
import { Typography as a } from "./index.es19.js";
|
|
4
|
+
const i = ({ servingStates: t }) => t && t.length > 0 ? /* @__PURE__ */ e.createElement(
|
|
5
|
+
m,
|
|
6
|
+
{
|
|
7
|
+
trigger: /* @__PURE__ */ e.createElement(a, { variant: "body1", className: "text-light-2" }, "Serving states"),
|
|
8
|
+
content: /* @__PURE__ */ e.createElement("div", { className: "flex flex-wrap gap-1" }, t.map((r, o) => /* @__PURE__ */ e.createElement(
|
|
9
|
+
a,
|
|
10
|
+
{
|
|
11
|
+
key: r + o,
|
|
12
|
+
variant: "body4",
|
|
13
|
+
className: "rounded bg-primary-1 px-2 py-0.5 text-xs text-light-3"
|
|
14
|
+
},
|
|
15
|
+
r
|
|
16
|
+
))),
|
|
17
|
+
triggerProps: { className: "cursor-pointer my-2" }
|
|
18
|
+
}
|
|
19
|
+
) : null;
|
|
33
20
|
export {
|
|
34
|
-
|
|
21
|
+
i as ServingStatesSection
|
|
35
22
|
};
|
|
36
23
|
//# sourceMappingURL=index.es106.js.map
|