@telia/teddy 0.6.17 → 0.7.5
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/assets/ajax-loader.0b80f665-teddy.gif +0 -0
- package/dist/assets/slick.25572f22-teddy.eot +0 -0
- package/dist/assets/slick.653a4cbb-teddy.woff +0 -0
- package/dist/assets/slick.6aa1ee46-teddy.ttf +0 -0
- package/dist/components/accordion/accordion-indicator.cjs +1 -1
- package/dist/components/accordion/accordion-indicator.js +1 -1
- package/dist/components/avatar/avatar-root.cjs +1 -1
- package/dist/components/avatar/avatar-root.d.ts +1 -1
- package/dist/components/avatar/avatar-root.js +1 -1
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/avatar/utils.cjs +1 -2
- package/dist/components/avatar/utils.js +1 -2
- package/dist/components/badge/badge.cjs +1 -1
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/breadcrumbs/breadcrumbs-link.cjs +1 -1
- package/dist/components/breadcrumbs/breadcrumbs-link.js +1 -1
- package/dist/components/button/button.js +1 -1
- package/dist/components/card/card-availability.d.ts +1 -1
- package/dist/components/card/card.cjs +6 -12
- package/dist/components/card/card.js +6 -12
- package/dist/components/carousel/carousel-root.cjs +1 -1
- package/dist/components/carousel/carousel-root.js +1 -1
- package/dist/components/channel-button/channel-button-root.d.ts +5 -5
- package/dist/components/channel-button/index.d.ts +5 -5
- package/dist/components/checkbox/checkbox-group.cjs +1 -2
- package/dist/components/checkbox/checkbox-group.js +1 -2
- package/dist/components/checkbox/checkbox-indicator.cjs +1 -1
- package/dist/components/checkbox/checkbox-indicator.js +1 -1
- package/dist/components/chip/chip-indicator.cjs +1 -1
- package/dist/components/chip/chip-indicator.d.ts +2 -2
- package/dist/components/chip/chip-indicator.js +1 -1
- package/dist/components/chip/index.d.ts +2 -2
- package/dist/components/circle-bar/css.cjs +1 -2
- package/dist/components/circle-bar/css.js +1 -2
- package/dist/components/dashboard-card/dashboard-card-avatar.d.ts +1 -1
- package/dist/components/dashboard-card/dashboard-card-root.cjs +1 -1
- package/dist/components/dashboard-card/dashboard-card-root.js +2 -2
- package/dist/components/date-picker/css.cjs +1 -2
- package/dist/components/date-picker/css.js +1 -2
- package/dist/components/date-picker/date-picker-input.cjs +1 -1
- package/dist/components/date-picker/date-picker-input.js +1 -1
- package/dist/components/date-picker/date-picker-month.js +1 -1
- package/dist/components/date-picker/date-picker.cjs +7 -13
- package/dist/components/date-picker/date-picker.js +8 -14
- package/dist/components/date-picker/date-utils.cjs +13 -26
- package/dist/components/date-picker/date-utils.js +13 -26
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/expandable-card/expandable-card-button.d.ts +4 -4
- package/dist/components/expandable-card/expandable-card-indicator.cjs +1 -1
- package/dist/components/expandable-card/expandable-card-indicator.js +1 -1
- package/dist/components/expandable-card/index.d.ts +5 -5
- package/dist/components/field-error-text/field-error-text.cjs +1 -1
- package/dist/components/field-error-text/field-error-text.js +1 -1
- package/dist/components/flip-card/flip-card-root.cjs +1 -2
- package/dist/components/flip-card/flip-card-root.js +1 -2
- package/dist/components/flip-card/flip-card-trigger.d.ts +4 -4
- package/dist/components/icon/AllIcons.cjs +9 -9
- package/dist/components/icon/AllIcons.js +9 -9
- package/dist/components/icon/icon.cjs +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/icon/index.cjs +1 -2
- package/dist/components/icon/index.d.ts +0 -2
- package/dist/components/icon/index.js +3 -4
- package/dist/components/icon/utils.d.ts +1 -1
- package/dist/components/index.cjs +8 -7
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +5 -4
- package/dist/components/input/index.cjs +5 -5
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/input/input-clear-button.cjs +3 -4
- package/dist/components/input/input-clear-button.js +2 -3
- package/dist/components/input/input-group.cjs +11 -15
- package/dist/components/input/input-group.js +11 -15
- package/dist/components/input/input-indicator.cjs +2 -2
- package/dist/components/input/input-indicator.js +1 -1
- package/dist/components/input/input.cjs +2 -2
- package/dist/components/meter-bar/index.cjs +2 -2
- package/dist/components/meter-bar/meter-bar-indicator.cjs +3 -0
- package/dist/components/meter-bar/meter-bar-indicator.js +5 -2
- package/dist/components/meter-bar/meter-bar-root.cjs +3 -3
- package/dist/components/metricmeter/css.cjs +1 -2
- package/dist/components/metricmeter/css.js +1 -2
- package/dist/components/modal/index.cjs +1 -1
- package/dist/components/modal/modal-close.cjs +3 -2
- package/dist/components/modal/modal-close.js +2 -1
- package/dist/components/modal/modal-title.d.ts +3 -3
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.cjs +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.cjs +3 -3
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.d.ts +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.cjs +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.cjs +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-search-field.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.cjs +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-search.js +1 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.cjs +2 -2
- package/dist/components/navigation-menu/global-navigation/global-navigation-shopping-cart.js +1 -1
- package/dist/components/navigation-menu/global-navigation/index.cjs +1 -1
- package/dist/components/navigation-menu/index.cjs +2 -2
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/navigation-menu.cjs +5 -4
- package/dist/components/navigation-menu/navigation-menu.js +2 -1
- package/dist/components/notabene/notabene-icon.cjs +2 -3
- package/dist/components/notabene/notabene-icon.d.ts +2 -2
- package/dist/components/notabene/notabene-icon.js +2 -3
- package/dist/components/notification/index.d.ts +5 -5
- package/dist/components/notification/notification-dismiss.cjs +1 -1
- package/dist/components/notification/notification-dismiss.js +1 -1
- package/dist/components/notification/notification-footer.cjs +1 -2
- package/dist/components/notification/notification-footer.js +1 -2
- package/dist/components/notification/notification-heading.cjs +1 -2
- package/dist/components/notification/notification-heading.js +1 -2
- package/dist/components/notification/notification-icon.cjs +2 -3
- package/dist/components/notification/notification-icon.d.ts +2 -2
- package/dist/components/notification/notification-icon.js +2 -3
- package/dist/components/notification/notification-root.d.ts +5 -5
- package/dist/components/pagination/index.cjs +27 -0
- package/dist/components/pagination/index.d.ts +114 -0
- package/dist/components/pagination/index.js +27 -0
- package/dist/components/pagination/pagination-button.cjs +116 -0
- package/dist/components/pagination/pagination-button.d.ts +56 -0
- package/dist/components/pagination/pagination-button.js +116 -0
- package/dist/components/pagination/pagination-items-per-page.cjs +66 -0
- package/dist/components/pagination/pagination-items-per-page.d.ts +35 -0
- package/dist/components/pagination/pagination-items-per-page.js +66 -0
- package/dist/components/pagination/pagination-navigation.cjs +51 -0
- package/dist/components/pagination/pagination-navigation.d.ts +25 -0
- package/dist/components/pagination/pagination-navigation.js +51 -0
- package/dist/components/pagination/pagination-page-numbers.cjs +94 -0
- package/dist/components/pagination/pagination-page-numbers.d.ts +26 -0
- package/dist/components/pagination/pagination-page-numbers.js +94 -0
- package/dist/components/pagination/pagination-page-selector.cjs +68 -0
- package/dist/components/pagination/pagination-page-selector.d.ts +22 -0
- package/dist/components/pagination/pagination-page-selector.js +68 -0
- package/dist/components/pagination/pagination-root.cjs +29 -0
- package/dist/components/pagination/pagination-root.d.ts +24 -0
- package/dist/components/pagination/pagination-root.js +29 -0
- package/dist/components/radio-card-group/index.cjs +1 -1
- package/dist/components/radio-card-group/radio-card-group-content.cjs +3 -2
- package/dist/components/radio-card-group/radio-card-group-content.js +2 -1
- package/dist/components/radio-card-group/radio-card-group-item-title.cjs +45 -48
- package/dist/components/radio-card-group/radio-card-group-item-title.js +46 -49
- package/dist/components/radio-card-group/radio-card-group-item.cjs +4 -3
- package/dist/components/radio-card-group/radio-card-group-item.js +2 -1
- package/dist/components/scroll-area/index.cjs +3 -3
- package/dist/components/scroll-area/index.d.ts +4 -4
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area-bar.cjs +1 -1
- package/dist/components/scroll-area/scroll-area-button.cjs +2 -2
- package/dist/components/scroll-area/scroll-area-button.d.ts +4 -4
- package/dist/components/scroll-area/scroll-area-button.js +1 -1
- package/dist/components/scroll-area/scroll-area-corner.cjs +1 -1
- package/dist/components/scroll-area/scroll-area-item.cjs +4 -6
- package/dist/components/scroll-area/scroll-area-item.js +2 -4
- package/dist/components/scroll-area/scroll-area-root.cjs +3 -3
- package/dist/components/scroll-area/scroll-area-thumb.cjs +10 -7
- package/dist/components/scroll-area/scroll-area-thumb.js +10 -7
- package/dist/components/select/select-indicator.cjs +1 -1
- package/dist/components/select/select-indicator.js +1 -1
- package/dist/components/select/select-root.cjs +1 -2
- package/dist/components/select/select-root.js +1 -2
- package/dist/components/skeleton/skeleton-root.cjs +1 -2
- package/dist/components/skeleton/skeleton-root.js +1 -2
- package/dist/components/spinner/spinner.cjs +2 -9
- package/dist/components/spinner/spinner.js +2 -9
- package/dist/components/tabs/tabs-list.cjs +1 -2
- package/dist/components/tabs/tabs-list.js +1 -2
- package/dist/components/tabs/tabs-scroll-button.d.ts +4 -4
- package/dist/components/tabs/tabs-trigger.cjs +1 -2
- package/dist/components/tabs/tabs-trigger.js +1 -2
- package/dist/components/text-field/index.d.ts +4 -4
- package/dist/components/text-field/text-field-button.d.ts +4 -4
- package/dist/components/text-field/text-field-error-list.cjs +2 -4
- package/dist/components/text-field/text-field-error-list.d.ts +1 -1
- package/dist/components/text-field/text-field-error-list.js +2 -4
- package/dist/components/toast/toast-root.cjs +1 -1
- package/dist/components/toast/toast-root.js +1 -1
- package/dist/components/toggle/toggle.cjs +3 -5
- package/dist/components/toggle/toggle.d.ts +2 -2
- package/dist/components/toggle/toggle.js +3 -5
- package/dist/components/toggletip/toggletip-close.cjs +1 -1
- package/dist/components/toggletip/toggletip-close.js +1 -1
- package/dist/components/tooltip/tooltip-trigger.cjs +1 -1
- package/dist/components/tooltip/tooltip-trigger.js +1 -1
- package/dist/icons/category.cjs +3 -3
- package/dist/icons/category.d.ts +8 -8
- package/dist/icons/category.js +3 -3
- package/dist/icons/name.cjs +3 -3
- package/dist/icons/name.d.ts +1 -1
- package/dist/icons/name.js +3 -3
- package/dist/main.cjs +8 -7
- package/dist/main.js +5 -4
- package/dist/pagination.module-BZYtfhKG.js +14 -0
- package/dist/pagination.module-cJw-49kO.cjs +13 -0
- package/dist/style.css +753 -694
- package/dist/utils/generate-styling/grid.d.ts +24 -24
- package/dist/utils/generate-styling/index.d.ts +16 -16
- package/dist/utils/generate-styling/util.d.ts +2 -2
- package/package.json +67 -77
- package/dist/assets/{sprite.c7653d19-teddy.svg → sprite.6511e521-teddy.svg} +9 -9
|
@@ -108,9 +108,6 @@ const allIconsHtml = `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
108
108
|
</symbol>
|
|
109
109
|
<symbol fill="none" viewBox="0 0 24 24" id="shuffle">
|
|
110
110
|
<path fill="currentColor" fill-rule="evenodd" d="M18.844 4.625a.9.9 0 0 1 1.273 0l2.235 2.235a.9.9 0 0 1 0 1.273l-2.235 2.235a.9.9 0 1 1-1.273-1.272l.7-.7h-3.057l-1.98 1.98a.9.9 0 1 1-1.273-1.272l2.244-2.244a.9.9 0 0 1 .636-.263h3.43l-.7-.7a.9.9 0 0 1 0-1.272ZM1.47 7.502a.9.9 0 0 1 .9-.9h4.77a.9.9 0 0 1 .637.264L12.2 11.29a.892.892 0 0 1 .12.12l4.167 4.167h3.056l-.699-.7a.9.9 0 1 1 1.273-1.272l2.235 2.235a.9.9 0 0 1 0 1.273l-2.235 2.235a.9.9 0 1 1-1.273-1.272l.7-.7h-3.43a.9.9 0 0 1-.636-.263l-3.854-3.854-3.848 3.849a.9.9 0 0 1-.636.263H2.37a.9.9 0 0 1 0-1.8h4.397l3.584-3.584-3.584-3.585H2.369a.9.9 0 0 1-.9-.9Z" clip-rule="evenodd"></path>
|
|
111
|
-
</symbol>
|
|
112
|
-
<symbol fill="none" viewBox="0 0 24 24" id="sync">
|
|
113
|
-
<path fill="currentColor" fill-rule="evenodd" d="M12.015 4.786a7.218 7.218 0 0 0-7.219 7.219.9.9 0 1 1-1.8 0 9.018 9.018 0 0 1 15.189-6.577v-1.48a.9.9 0 1 1 1.8 0V8.92h-4.973a.9.9 0 0 1 0-1.8h2.318a7.199 7.199 0 0 0-5.315-2.334Zm8.118 6.319a.9.9 0 0 1 .9.9A9.018 9.018 0 0 1 5.83 18.568v1.469a.9.9 0 1 1-1.8 0v-4.973h4.973a.9.9 0 1 1 0 1.8H6.677a7.218 7.218 0 0 0 12.556-4.86.9.9 0 0 1 .9-.9Z" clip-rule="evenodd"></path>
|
|
114
111
|
</symbol>
|
|
115
112
|
<symbol fill="none" viewBox="0 0 24 24" id="skip-back-10sec">
|
|
116
113
|
<path fill="currentColor" fill-rule="evenodd" d="M8.636 1.864a.9.9 0 0 0-1.272 0l-2.5 2.5a.9.9 0 0 0 0 1.272l2.5 2.5a.9.9 0 0 0 1.272-1.272L7.673 5.9H12A7.1 7.1 0 1 1 4.9 13a.9.9 0 1 0-1.8 0A8.9 8.9 0 1 0 12 4.1H7.673l.963-.964a.9.9 0 0 0 0-1.272Z" clip-rule="evenodd"></path>
|
|
@@ -141,6 +138,9 @@ const allIconsHtml = `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
141
138
|
</symbol>
|
|
142
139
|
<symbol fill="none" viewBox="0 0 24 24" id="switch-arrows">
|
|
143
140
|
<path fill="currentColor" fill-rule="evenodd" d="M16.864 2.364a.9.9 0 0 1 1.272 0l4 4a.9.9 0 0 1 0 1.272l-4 4a.9.9 0 0 1-1.272-1.272L19.327 7.9H9a.9.9 0 0 1 0-1.8h10.327l-2.463-2.464a.9.9 0 0 1 0-1.272Zm-9.728 10a.9.9 0 0 1 0 1.272L4.673 16.1H15a.9.9 0 1 1 0 1.8H4.673l2.463 2.464a.9.9 0 0 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 0Z" clip-rule="evenodd"></path>
|
|
141
|
+
</symbol>
|
|
142
|
+
<symbol fill="none" viewBox="0 0 24 24" id="sync">
|
|
143
|
+
<path fill="currentColor" fill-rule="evenodd" d="M12.015 4.786a7.218 7.218 0 0 0-7.219 7.219.9.9 0 1 1-1.8 0 9.018 9.018 0 0 1 15.189-6.577v-1.48a.9.9 0 1 1 1.8 0V8.92h-4.973a.9.9 0 0 1 0-1.8h2.318a7.199 7.199 0 0 0-5.315-2.334Zm8.118 6.319a.9.9 0 0 1 .9.9A9.018 9.018 0 0 1 5.83 18.568v1.469a.9.9 0 1 1-1.8 0v-4.973h4.973a.9.9 0 1 1 0 1.8H6.677a7.218 7.218 0 0 0 12.556-4.86.9.9 0 0 1 .9-.9Z" clip-rule="evenodd"></path>
|
|
144
144
|
</symbol>
|
|
145
145
|
<symbol fill="none" viewBox="0 0 24 24" id="tv-next">
|
|
146
146
|
<path fill="currentColor" d="M21 21h-1V3h1v18Zm-3-9L4.5 19.794V4.206L18 12Z"></path>
|
|
@@ -894,14 +894,14 @@ const allIconsHtml = `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
894
894
|
</symbol>
|
|
895
895
|
<symbol fill="none" viewBox="0 0 24 24" id="speedometer">
|
|
896
896
|
<path fill="currentColor" fill-rule="evenodd" d="M1.62 11.81a.903.903 0 0 0-.014.294 10.304 10.304 0 0 0 2.884 7.52.9.9 0 0 0 1.182.101l1.36-1a.9.9 0 0 0-1.065-1.45l-.697.512A8.49 8.49 0 0 1 3.411 12.9H4.5a.9.9 0 1 0 0-1.8h-.992a8.511 8.511 0 0 1 2.03-4.29l.74.74A.9.9 0 0 0 7.55 6.279l-.686-.686A8.577 8.577 0 0 1 11.1 3.946V5a.9.9 0 1 0 1.8 0V3.946a8.576 8.576 0 0 1 2.187.522.9.9 0 0 0 .644-1.681A10.415 10.415 0 0 0 12 2.1c-2.63 0-5.033.973-6.865 2.577a.898.898 0 0 0-.428.396A10.306 10.306 0 0 0 1.62 11.81Zm17.516-6.946a.9.9 0 0 1 0 1.272l-7 7a.9.9 0 1 1-1.272-1.272l7-7a.9.9 0 0 1 1.272 0Zm.894 2.458a.9.9 0 0 1 1.213.384 10.285 10.285 0 0 1 1.157 4.752c0 2.78-1.101 5.307-2.89 7.166a.9.9 0 0 1-1.182.101l-1.36-1a.9.9 0 0 1 1.065-1.45l.697.512a8.49 8.49 0 0 0 1.859-4.887H19a.9.9 0 1 1 0-1.8h1.492a8.462 8.462 0 0 0-.846-2.564.9.9 0 0 1 .384-1.214Z" clip-rule="evenodd"></path>
|
|
897
|
+
</symbol>
|
|
898
|
+
<symbol fill="none" viewBox="0 0 24 24" id="split">
|
|
899
|
+
<path fill="currentColor" fill-rule="evenodd" d="M18.864 4.864a.9.9 0 0 1 1.272 0l2 2a.9.9 0 0 1 0 1.272l-2 2a.9.9 0 0 1-1.272-1.272l.463-.464h-5.454l-4.237 4.236A.9.9 0 0 1 9 12.9H2.5a.9.9 0 0 1 0-1.8h6.127l4.237-4.236A.9.9 0 0 1 13.5 6.6h5.827l-.463-.464a.9.9 0 0 1 0-1.272Zm-8.5 8.5a.9.9 0 0 1 1.272 0l2.237 2.236h5.454l-.463-.464a.9.9 0 1 1 1.272-1.272l2 2a.9.9 0 0 1 0 1.272l-2 2a.9.9 0 0 1-1.272-1.272l.463-.464H13.5a.9.9 0 0 1-.636-.264l-2.5-2.5a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"></path>
|
|
897
900
|
</symbol>
|
|
898
901
|
<symbol fill="none" viewBox="0 0 24 24" id="spyware">
|
|
899
902
|
<path fill="currentColor" fill-rule="evenodd" d="M11.598 1.695a.9.9 0 0 1 .804 0c2.952 1.476 5.356 2.433 8.725 2.914a.9.9 0 0 1 .773.89c0 4.728-.237 8.312-1.595 11.029-1.403 2.805-3.915 4.543-8.037 5.831a.9.9 0 0 1-.537 0c-4.12-1.288-6.633-3.026-8.036-5.832C2.337 13.811 2.1 10.227 2.1 5.5a.9.9 0 0 1 .788-.893c3.843-.48 5.731-1.423 8.71-2.912Zm-7.695 4.59c.03 4.338.324 7.281 1.402 9.438 1.072 2.143 2.992 3.635 6.695 4.833 3.703-1.198 5.623-2.69 6.695-4.834 1.08-2.158 1.374-5.105 1.402-9.452-3.08-.525-5.437-1.457-8.096-2.765C9.38 4.813 7.374 5.76 3.903 6.285Z" clip-rule="evenodd"></path>
|
|
900
903
|
<path fill="currentColor" d="m12.523 14.422.416-6.75a.94.94 0 1 0-1.876.001l.425 6.749h1.035ZM12 17.02c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.397-.825.816 0 .428.397.815.825.815Z"></path>
|
|
901
904
|
<path fill="currentColor" fill-rule="evenodd" d="M12.691 14.596h-1.37l-.436-7.034a1 1 0 0 1 .998-1.062h.236a1 1 0 0 1 .998 1.06l-.426 7.036Zm.248-6.924a.94.94 0 1 0-1.876.001l.425 6.749h1.035l.416-6.75ZM13 16.206c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.3.696-.3.536 0 1 .474 1 .989Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.397.826.816Z" clip-rule="evenodd"></path>
|
|
902
|
-
</symbol>
|
|
903
|
-
<symbol fill="none" viewBox="0 0 24 24" id="split">
|
|
904
|
-
<path fill="currentColor" fill-rule="evenodd" d="M18.864 4.864a.9.9 0 0 1 1.272 0l2 2a.9.9 0 0 1 0 1.272l-2 2a.9.9 0 0 1-1.272-1.272l.463-.464h-5.454l-4.237 4.236A.9.9 0 0 1 9 12.9H2.5a.9.9 0 0 1 0-1.8h6.127l4.237-4.236A.9.9 0 0 1 13.5 6.6h5.827l-.463-.464a.9.9 0 0 1 0-1.272Zm-8.5 8.5a.9.9 0 0 1 1.272 0l2.237 2.236h5.454l-.463-.464a.9.9 0 1 1 1.272-1.272l2 2a.9.9 0 0 1 0 1.272l-2 2a.9.9 0 0 1-1.272-1.272l.463-.464H13.5a.9.9 0 0 1-.636-.264l-2.5-2.5a.9.9 0 0 1 0-1.272Z" clip-rule="evenodd"></path>
|
|
905
905
|
</symbol>
|
|
906
906
|
<symbol fill="none" viewBox="0 0 24 24" id="stop">
|
|
907
907
|
<path fill="currentColor" fill-rule="evenodd" d="M12 3.818a8.182 8.182 0 1 0 0 16.364 8.182 8.182 0 0 0 0-16.364ZM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm5.05 0a.91.91 0 0 1 .91-.91h8.08a.91.91 0 1 1 0 1.82H7.96a.91.91 0 0 1-.91-.91Z" clip-rule="evenodd"></path>
|
|
@@ -965,9 +965,6 @@ const allIconsHtml = `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
965
965
|
<path fill="currentColor" fill-rule="evenodd" d="M6.608 12a5.392 5.392 0 1 1 10.784 0 5.392 5.392 0 0 1-10.784 0ZM12 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Z" clip-rule="evenodd"></path>
|
|
966
966
|
<path fill="currentColor" d="M18.865 6.395a1.26 1.26 0 1 1-2.52 0 1.26 1.26 0 0 1 2.52 0Z"></path>
|
|
967
967
|
<path fill="currentColor" fill-rule="evenodd" d="M12 1.5c-2.852 0-3.21.012-4.33.063-1.118.051-1.88.229-2.55.488-.7.264-1.335.677-1.86 1.211a5.147 5.147 0 0 0-1.21 1.86c-.259.668-.436 1.431-.487 2.549C1.513 8.789 1.5 9.148 1.5 12c0 2.851.012 3.21.063 4.329.051 1.119.229 1.88.488 2.55.264.7.677 1.335 1.211 1.86.525.534 1.16.947 1.86 1.211.668.26 1.432.437 2.55.488 1.12.051 1.476.062 4.328.062 2.851 0 3.21-.012 4.329-.063 1.119-.052 1.88-.229 2.55-.489a5.37 5.37 0 0 0 3.07-3.07c.26-.668.437-1.432.488-2.55.05-1.119.063-1.477.063-4.328 0-2.852-.012-3.21-.063-4.33-.052-1.118-.229-1.88-.489-2.55a5.147 5.147 0 0 0-1.21-1.86 5.147 5.147 0 0 0-1.86-1.21c-.668-.259-1.431-.436-2.55-.487C15.212 1.513 14.852 1.5 12 1.5Zm0 1.892c2.803 0 3.135.01 4.243.06 1.023.046 1.58.217 1.95.361.49.19.84.418 1.207.786.367.367.595.717.785 1.207.144.37.315.926.362 1.95.05 1.107.06 1.44.06 4.243 0 2.803-.011 3.135-.06 4.243-.047 1.023-.218 1.58-.362 1.95-.19.49-.418.84-.785 1.207a3.258 3.258 0 0 1-1.207.785c-.37.144-.926.315-1.95.362-1.107.05-1.44.06-4.243.06-2.803 0-3.136-.011-4.243-.06-1.024-.047-1.58-.218-1.95-.362A3.25 3.25 0 0 1 4.6 19.4a3.252 3.252 0 0 1-.786-1.207c-.143-.37-.314-.926-.361-1.95-.05-1.107-.06-1.44-.06-4.242 0-2.803.01-3.136.06-4.243.047-1.024.218-1.58.361-1.95.19-.49.418-.84.786-1.208a3.258 3.258 0 0 1 1.207-.785c.37-.144.926-.315 1.95-.361 1.107-.05 1.44-.06 4.243-.06v-.001Z" clip-rule="evenodd"></path>
|
|
968
|
-
</symbol>
|
|
969
|
-
<symbol fill="none" viewBox="0 0 24 24" id="youtube">
|
|
970
|
-
<path fill="currentColor" fill-rule="evenodd" d="M22.178 7.76s-.241-1.467-.804-2.119c-.805-.815-1.69-.815-2.092-.896C16.385 4.5 11.96 4.5 11.96 4.5s-4.426 0-7.322.245c-.402.081-1.287.081-2.092.896-.644.652-.805 2.12-.805 2.12S1.5 9.473 1.5 11.185v1.63c0 1.712.241 3.424.241 3.424s.242 1.467.805 2.12c.805.815 1.85.815 2.333.896 1.69.164 7.161.245 7.161.245s4.425 0 7.322-.245c.402-.081 1.287-.081 2.092-.896.644-.653.805-2.12.805-2.12s.241-1.712.241-3.424v-1.63a42.404 42.404 0 0 0-.322-3.424Zm-12.39 7.012V8.82l5.631 3.016-5.632 2.935Z" clip-rule="evenodd"></path>
|
|
971
968
|
</symbol>
|
|
972
969
|
<symbol fill="none" viewBox="0 0 24 24" id="linkedin">
|
|
973
970
|
<path fill="currentColor" d="M4.024 1.5A2.526 2.526 0 0 0 1.5 4.027a2.526 2.526 0 0 0 2.524 2.528 2.527 2.527 0 0 0 2.522-2.528A2.526 2.526 0 0 0 4.024 1.5ZM17.28 8.124c-2.118 0-3.537 1.163-4.118 2.265h-.058V8.473H8.929V22.5h4.349v-6.94c0-1.829.346-3.601 2.611-3.601 2.232 0 2.263 2.092 2.263 3.72v6.82h4.347v-7.693c0-3.777-.813-6.682-5.22-6.682ZM6.2 22.5H1.848V8.473H6.2V22.5Z"></path>
|
|
@@ -986,6 +983,9 @@ const allIconsHtml = `<?xml version="1.0" encoding="UTF-8"?>
|
|
|
986
983
|
</symbol>
|
|
987
984
|
<symbol fill="none" viewBox="0 0 24 24" id="x">
|
|
988
985
|
<path fill="currentColor" d="m3.044 3 6.95 9.928L3 21h1.574l6.123-7.067L15.644 21H21l-7.34-10.486L20.168 3h-1.574l-5.639 6.509L8.4 3H3.044Zm2.315 1.239h2.46L18.685 19.76h-2.46L5.357 4.24Z"></path>
|
|
986
|
+
</symbol>
|
|
987
|
+
<symbol fill="none" viewBox="0 0 24 24" id="youtube">
|
|
988
|
+
<path fill="currentColor" fill-rule="evenodd" d="M22.178 7.76s-.241-1.467-.804-2.119c-.805-.815-1.69-.815-2.092-.896C16.385 4.5 11.96 4.5 11.96 4.5s-4.426 0-7.322.245c-.402.081-1.287.081-2.092.896-.644.652-.805 2.12-.805 2.12S1.5 9.473 1.5 11.185v1.63c0 1.712.241 3.424.241 3.424s.242 1.467.805 2.12c.805.815 1.85.815 2.333.896 1.69.164 7.161.245 7.161.245s4.425 0 7.322-.245c.402-.081 1.287-.081 2.092-.896.644-.653.805-2.12.805-2.12s.241-1.712.241-3.424v-1.63a42.404 42.404 0 0 0-.322-3.424Zm-12.39 7.012V8.82l5.631 3.016-5.632 2.935Z" clip-rule="evenodd"></path>
|
|
989
989
|
</symbol>
|
|
990
990
|
<symbol fill="none" viewBox="0 0 24 24" id="alert-filled">
|
|
991
991
|
<path fill="currentColor" fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm1.038-14.81-.247 6.875h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.916c0 .649-.585 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.665 0 1.25.601 1.25 1.234Z" clip-rule="evenodd"></path>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
-
|
|
4
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
5
5
|
const clsx = require("clsx");
|
|
6
6
|
const styles = {
|
|
7
7
|
"teddy-icon": "_teddy-icon_1ur3a_2",
|
|
@@ -24,6 +24,6 @@ function Icon({ name, size = "font", className, children, ...props }) {
|
|
|
24
24
|
children
|
|
25
25
|
] });
|
|
26
26
|
}
|
|
27
|
-
return /* @__PURE__ */ jsxRuntime.jsx("svg", { ...props, className: classes, children: /* @__PURE__ */ jsxRuntime.jsx("use", { href:
|
|
27
|
+
return /* @__PURE__ */ jsxRuntime.jsx("svg", { ...props, className: classes, children: /* @__PURE__ */ jsxRuntime.jsx("use", { href: `#${name}` }) });
|
|
28
28
|
}
|
|
29
29
|
exports.Icon = Icon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
const styles = {
|
|
5
5
|
"teddy-icon": "_teddy-icon_1ur3a_2",
|
|
@@ -22,7 +22,7 @@ function Icon({ name, size = "font", className, children, ...props }) {
|
|
|
22
22
|
children
|
|
23
23
|
] });
|
|
24
24
|
}
|
|
25
|
-
return /* @__PURE__ */ jsx("svg", { ...props, className: classes, children: /* @__PURE__ */ jsx("use", { href:
|
|
25
|
+
return /* @__PURE__ */ jsx("svg", { ...props, className: classes, children: /* @__PURE__ */ jsx("use", { href: `#${name}` }) });
|
|
26
26
|
}
|
|
27
27
|
export {
|
|
28
28
|
Icon
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
3
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
4
4
|
const components_icon_icon = require("./icon.cjs");
|
|
5
5
|
const components_icon_utils = require("./utils.cjs");
|
|
6
6
|
const components_icon_AllIcons = require("./AllIcons.cjs");
|
|
7
|
-
exports.iconsHref = iconsHref;
|
|
8
7
|
exports.Icon = components_icon_icon.Icon;
|
|
9
8
|
exports.isIconName = components_icon_utils.isIconName;
|
|
10
9
|
exports.AllIcons = components_icon_AllIcons;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
2
2
|
import { Icon } from "./icon.js";
|
|
3
3
|
import { isIconName } from "./utils.js";
|
|
4
|
-
import { default as
|
|
4
|
+
import { default as default2 } from "./AllIcons.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
default2 as AllIcons,
|
|
7
7
|
Icon,
|
|
8
|
-
default2 as iconsHref,
|
|
9
8
|
isIconName
|
|
10
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isIconName: (value: string | null) => value is "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "x" | "
|
|
1
|
+
export declare const isIconName: (value: string | null) => value is "link" | "map" | "menu" | "search" | "summary" | "time" | "video" | "filter" | "image" | "stop" | "key" | "split" | "alert" | "radio" | "email" | "copy" | "x" | "add" | "reverse" | "infinite" | "visible" | "help" | "zoom-out" | "zoom" | "alarm-off" | "alarm-on" | "attachment" | "bookmark-filled" | "bookmark" | "copy-filled" | "dislike" | "download" | "edit" | "heart-filled" | "heart" | "invisible" | "like" | "lock-open" | "lock" | "login" | "logout" | "maximize" | "minimize" | "mute" | "password-invisible" | "password-visible" | "play-filled" | "play" | "remove-filled" | "remove" | "save" | "send" | "settings" | "share" | "shortcut" | "shuffle" | "skip-back-10sec" | "skip-back-30sec" | "skip-forward-10sec" | "skip-forward-30sec" | "star-filled" | "star" | "switch-arrows" | "sync" | "tv-next" | "tv-pause" | "tv-previous" | "tv-stop" | "upload" | "volume" | "connected-building" | "home" | "hospital" | "industry" | "premises-datacenter" | "premises-large" | "premises-medium" | "premises-small" | "premises" | "store" | "address-book" | "b2b-customer" | "care" | "chat-robot" | "chat" | "child-1" | "child-2" | "conversation" | "customer-dialogue" | "dsl-hub" | "end-user" | "handshake" | "headphones" | "letter" | "mms" | "new-contact" | "new-group" | "news" | "parental-guide" | "people-hub" | "people" | "portal" | "signature" | "smiley-happy" | "smiley-neutral" | "smiley-sad" | "smiley-very-happy" | "smiley-very-sad" | "sms" | "support" | "user-admin" | "vcard" | "voicemail" | "battery" | "bluetooth" | "broadband" | "broken-phone" | "cast" | "cloud-connect" | "connected" | "core-router" | "daas-device" | "data-transfer" | "desktop" | "devices" | "esim-simcard" | "esim" | "face-id" | "fiber" | "fingerprint" | "fiveg" | "fourg" | "home-installation" | "industrial-iot" | "internet" | "it-service" | "laptop" | "mobile-broadband" | "network" | "phone-recycling" | "phone-ringing" | "phone" | "rack" | "refill-card" | "remote-control" | "repair" | "roaming" | "router" | "secure-device" | "sense-car" | "server" | "service-device" | "service-supervision" | "slow-wifi" | "smart-wifi" | "smartphone" | "smartwatch" | "tablet" | "trade-phone" | "tv" | "usb" | "voice-switch" | "wallplug" | "wireless-off" | "wireless-weak" | "wireless" | "world-alert" | "world-off" | "world-question" | "bar-chart" | "doc" | "document-doc" | "document-edit" | "document-pdf" | "document-ppt" | "excel" | "folder-copy" | "folder-new" | "folder" | "gif" | "graph" | "media-content" | "org-chart" | "pie-chart" | "print" | "register" | "report" | "simcard" | "spell-check" | "credit-card" | "euro" | "invoice" | "kontantkort" | "kr" | "late-payment" | "money-back-euro" | "money-back-kr" | "money-euro" | "money-kr" | "pay-monthly-euro" | "pay-monthly-kr" | "pay-once-euro" | "pay-once-kr" | "payment-success" | "savings" | "wallet" | "AI-star" | "airplay" | "camera" | "entertainment" | "external" | "film" | "games" | "megaphone" | "microphone" | "music" | "player-settings" | "record" | "stream" | "trailer" | "video-conference" | "activity-level" | "ai-robot" | "bag" | "basketball" | "blood-pressure" | "bulb" | "business-continuity" | "business-intelligence" | "calendar" | "cart" | "close-circle" | "cloud" | "coffee" | "compass" | "construction" | "cookie" | "delivery" | "drone" | "education" | "efficiency" | "environment" | "facemask" | "flag" | "focus" | "food" | "fraud" | "getting-started" | "home-care" | "job-search" | "layers" | "measuring-health" | "moisture" | "offering" | "offshore" | "optimization" | "pebble" | "pet-dog" | "pin" | "plane" | "plus-minus" | "police" | "power-grid" | "present" | "press-button" | "price" | "pulse" | "recycle" | "reservation" | "route" | "ruler" | "satellite" | "secured-1" | "secured-2" | "security-camera" | "shopping" | "smart-connect" | "snowflake" | "speedometer" | "spyware" | "suitcase" | "sustainability" | "tag" | "temperature" | "thinking" | "train" | "transfer" | "undo" | "wavelength" | "weather" | "world" | "android" | "apple" | "bankid-norway" | "bankid" | "facebook" | "instagram" | "linkedin" | "snapchat" | "telia-logo" | "whatsapp" | "windows" | "youtube" | "alert-filled" | "check-circle-filled" | "check-circle" | "error-filled" | "error" | "info-filled" | "info" | "question-filled" | "question" | "warning" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-subdirectory" | "arrow-up" | "card-view" | "checkmark-bold" | "checkmark" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "close" | "grid-view" | "list-view" | "minus-bold" | "minus" | "more-horizontal" | "more-vertical" | "plus" | "services" | "sorter" | "table-view";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const components_pagination_index = require("./pagination/index.cjs");
|
|
3
4
|
const components_select_index = require("./select/index.cjs");
|
|
4
5
|
const components_avatar_index = require("./avatar/index.cjs");
|
|
5
6
|
const components_dashboardCard_index = require("./dashboard-card/index.cjs");
|
|
@@ -43,7 +44,7 @@ const components_badge_counterBadge = require("./badge/counter-badge.cjs");
|
|
|
43
44
|
const components_button_button = require("./button/button.cjs");
|
|
44
45
|
const components_fieldErrorText_fieldErrorText = require("./field-error-text/field-error-text.cjs");
|
|
45
46
|
const components_helperText_helperText = require("./helper-text/helper-text.cjs");
|
|
46
|
-
|
|
47
|
+
require("../assets/sprite.6511e521-teddy.svg");
|
|
47
48
|
const components_icon_icon = require("./icon/icon.cjs");
|
|
48
49
|
const components_icon_utils = require("./icon/utils.cjs");
|
|
49
50
|
const components_icon_AllIcons = require("./icon/AllIcons.cjs");
|
|
@@ -61,6 +62,7 @@ const components_slider_slider = require("./slider/slider.cjs");
|
|
|
61
62
|
const components_circleBar_circleBar = require("./circle-bar/circle-bar.cjs");
|
|
62
63
|
const sonner = require("sonner");
|
|
63
64
|
const components_input_inputGroup = require("./input/input-group.cjs");
|
|
65
|
+
exports.Pagination = components_pagination_index.Pagination;
|
|
64
66
|
exports.Select = components_select_index.Select;
|
|
65
67
|
exports.Avatar = components_avatar_index.Avatar;
|
|
66
68
|
exports.DashboardCard = components_dashboardCard_index.DashboardCard;
|
|
@@ -75,10 +77,10 @@ exports.CheckboxGroup = components_checkbox_index.CheckboxGroup;
|
|
|
75
77
|
exports.Toast = components_toast_index.Toast;
|
|
76
78
|
exports.Toggletip = components_toggletip_index.Toggletip;
|
|
77
79
|
exports.Breadcrumbs = components_breadcrumbs_index.Breadcrumbs;
|
|
78
|
-
exports.GlobalNavigation = components_radioCardGroup_radioCardGroupItemTitle.GlobalNavigation;
|
|
79
|
-
exports.Modal = components_radioCardGroup_radioCardGroupItemTitle.Modal;
|
|
80
|
-
exports.NavigationMenu = components_radioCardGroup_radioCardGroupItemTitle.NavigationMenu;
|
|
81
|
-
exports.RadioCardGroup = components_radioCardGroup_radioCardGroupItemTitle.RadioCardGroup;
|
|
80
|
+
exports.GlobalNavigation = components_radioCardGroup_radioCardGroupItemTitle.GlobalNavigation$1;
|
|
81
|
+
exports.Modal = components_radioCardGroup_radioCardGroupItemTitle.Modal$1;
|
|
82
|
+
exports.NavigationMenu = components_radioCardGroup_radioCardGroupItemTitle.NavigationMenu$1;
|
|
83
|
+
exports.RadioCardGroup = components_radioCardGroup_radioCardGroupItemTitle.RadioCardGroup$1;
|
|
82
84
|
exports.Ribbon = components_ribbon_index.Ribbon;
|
|
83
85
|
exports.ExpandableCard = components_expandableCard_index.ExpandableCard;
|
|
84
86
|
exports.ColorDot = components_colorDot_index.ColorDot;
|
|
@@ -108,7 +110,6 @@ exports.CounterBadge = components_badge_counterBadge.CounterBadge;
|
|
|
108
110
|
exports.Button = components_button_button.Button;
|
|
109
111
|
exports.FieldErrorText = components_fieldErrorText_fieldErrorText.FieldErrorText;
|
|
110
112
|
exports.HelperText = components_helperText_helperText.HelperText;
|
|
111
|
-
exports.iconsHref = iconsHref;
|
|
112
113
|
exports.Icon = components_icon_icon.Icon;
|
|
113
114
|
exports.isIconName = components_icon_utils.isIconName;
|
|
114
115
|
exports.AllIcons = components_icon_AllIcons;
|
|
@@ -128,4 +129,4 @@ Object.defineProperty(exports, "toast", {
|
|
|
128
129
|
enumerable: true,
|
|
129
130
|
get: () => sonner.toast
|
|
130
131
|
});
|
|
131
|
-
exports.Input = components_input_inputGroup.Input;
|
|
132
|
+
exports.Input = components_input_inputGroup.Input$1;
|
package/dist/components/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Pagination } from "./pagination/index.js";
|
|
1
2
|
import { Select } from "./select/index.js";
|
|
2
3
|
import { Avatar } from "./avatar/index.js";
|
|
3
4
|
import { DashboardCard } from "./dashboard-card/index.js";
|
|
@@ -41,10 +42,10 @@ import { CounterBadge } from "./badge/counter-badge.js";
|
|
|
41
42
|
import { Button } from "./button/button.js";
|
|
42
43
|
import { FieldErrorText } from "./field-error-text/field-error-text.js";
|
|
43
44
|
import { HelperText } from "./helper-text/helper-text.js";
|
|
44
|
-
import
|
|
45
|
+
import "../assets/sprite.6511e521-teddy.svg";
|
|
45
46
|
import { Icon } from "./icon/icon.js";
|
|
46
47
|
import { isIconName } from "./icon/utils.js";
|
|
47
|
-
import { default as
|
|
48
|
+
import { default as default2 } from "./icon/AllIcons.js";
|
|
48
49
|
import { InputGroup } from "./input/index.js";
|
|
49
50
|
import { Label } from "./label/label.js";
|
|
50
51
|
import { Spinner } from "./spinner/spinner.js";
|
|
@@ -62,7 +63,7 @@ import { I } from "./input/input-group.js";
|
|
|
62
63
|
export {
|
|
63
64
|
Accordion,
|
|
64
65
|
AlertBadge,
|
|
65
|
-
|
|
66
|
+
default2 as AllIcons,
|
|
66
67
|
Avatar,
|
|
67
68
|
Badge,
|
|
68
69
|
Box,
|
|
@@ -103,6 +104,7 @@ export {
|
|
|
103
104
|
N as NavigationMenu,
|
|
104
105
|
Notabene,
|
|
105
106
|
Notification,
|
|
107
|
+
Pagination,
|
|
106
108
|
ProgressBar,
|
|
107
109
|
R as RadioCardGroup,
|
|
108
110
|
RadioGroup,
|
|
@@ -122,7 +124,6 @@ export {
|
|
|
122
124
|
Toggletip,
|
|
123
125
|
Tooltip,
|
|
124
126
|
VisuallyHidden,
|
|
125
|
-
default2 as iconsHref,
|
|
126
127
|
isIconName,
|
|
127
128
|
toast
|
|
128
129
|
};
|
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const components_input_inputGroup = require("./input-group.cjs");
|
|
4
4
|
const components_input_inputClearButton = require("./input-clear-button.cjs");
|
|
5
5
|
components_input_inputGroup.Root.displayName = "InputGroup";
|
|
6
|
-
components_input_inputGroup.Input.displayName = "InputGroup.Input";
|
|
7
|
-
components_input_inputGroup.Indicator.displayName = "InputGroup.Indicator";
|
|
6
|
+
components_input_inputGroup.Input$1.displayName = "InputGroup.Input";
|
|
7
|
+
components_input_inputGroup.Indicator$1.displayName = "InputGroup.Indicator";
|
|
8
8
|
const InputGroup = Object.assign(components_input_inputGroup.Root, {
|
|
9
|
-
Input: components_input_inputGroup.Input,
|
|
10
|
-
Indicator: components_input_inputGroup.Indicator,
|
|
9
|
+
Input: components_input_inputGroup.Input$1,
|
|
10
|
+
Indicator: components_input_inputGroup.Indicator$1,
|
|
11
11
|
ClearButton: components_input_inputClearButton.ClearButton
|
|
12
12
|
});
|
|
13
|
-
exports.Input = components_input_inputGroup.Input;
|
|
13
|
+
exports.Input = components_input_inputGroup.Input$1;
|
|
14
14
|
exports.InputGroup = InputGroup;
|
|
@@ -8,7 +8,7 @@ declare const InputGroup: import('react').ForwardRefExoticComponent<Omit<import(
|
|
|
8
8
|
preventGroupClickSelect?: boolean | undefined;
|
|
9
9
|
} & import('react').RefAttributes<HTMLDivElement>> & {
|
|
10
10
|
Input: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "children"> & {
|
|
11
|
-
validationState?: ("
|
|
11
|
+
validationState?: ("valid" | "invalid") | undefined;
|
|
12
12
|
isLoading?: boolean | undefined;
|
|
13
13
|
onValueChange?: ((value: string) => void) | undefined;
|
|
14
14
|
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const React = require("react");
|
|
5
|
-
require("../../assets/sprite.
|
|
5
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
6
6
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
7
7
|
const components_button_button = require("../button/button.cjs");
|
|
8
8
|
const clsx = require("clsx");
|
|
@@ -12,7 +12,7 @@ const ClearButton = React.forwardRef(
|
|
|
12
12
|
({ children, className, ...props }, forwardRef) => {
|
|
13
13
|
const groupContext = React.useContext(components_input_inputGroup.InputGroupContext);
|
|
14
14
|
const hidden = !(groupContext == null ? void 0 : groupContext.isDirty);
|
|
15
|
-
const classes = clsx([components_input_inputGroup.styles[`${components_input_inputGroup.rootClassName}__clear-button`]], className);
|
|
15
|
+
const classes = clsx([components_input_inputGroup.styles[`${components_input_inputGroup.rootClassName$1}__clear-button`]], className);
|
|
16
16
|
if (hidden) {
|
|
17
17
|
return null;
|
|
18
18
|
}
|
|
@@ -27,8 +27,7 @@ const ClearButton = React.forwardRef(
|
|
|
27
27
|
ref: forwardRef,
|
|
28
28
|
onClick: utils_composeEventHandlers.composeEventHandlers(props.onClick, (e) => {
|
|
29
29
|
e.stopPropagation();
|
|
30
|
-
if (e.defaultPrevented || !(groupContext == null ? void 0 : groupContext.inputRef.current))
|
|
31
|
-
return;
|
|
30
|
+
if (e.defaultPrevented || !(groupContext == null ? void 0 : groupContext.inputRef.current)) return;
|
|
32
31
|
groupContext.inputRef.current.value = "";
|
|
33
32
|
groupContext.inputRef.current.focus();
|
|
34
33
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import "../../assets/sprite.
|
|
3
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
4
4
|
import { Icon } from "../icon/icon.js";
|
|
5
5
|
import { Button } from "../button/button.js";
|
|
6
6
|
import clsx from "clsx";
|
|
@@ -25,8 +25,7 @@ const ClearButton = React__default.forwardRef(
|
|
|
25
25
|
ref: forwardRef,
|
|
26
26
|
onClick: composeEventHandlers(props.onClick, (e) => {
|
|
27
27
|
e.stopPropagation();
|
|
28
|
-
if (e.defaultPrevented || !(groupContext == null ? void 0 : groupContext.inputRef.current))
|
|
29
|
-
return;
|
|
28
|
+
if (e.defaultPrevented || !(groupContext == null ? void 0 : groupContext.inputRef.current)) return;
|
|
30
29
|
groupContext.inputRef.current.value = "";
|
|
31
30
|
groupContext.inputRef.current.focus();
|
|
32
31
|
}),
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const clsx = require("clsx");
|
|
5
5
|
const React = require("react");
|
|
6
|
-
require("../../assets/sprite.
|
|
6
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
7
7
|
const components_icon_icon = require("../icon/icon.cjs");
|
|
8
8
|
const components_spinner_spinner = require("../spinner/spinner.cjs");
|
|
9
9
|
const utils_composeRefs = require("../../utils/composeRefs.cjs");
|
|
@@ -22,14 +22,11 @@ const styles = {
|
|
|
22
22
|
scaleInAnimation
|
|
23
23
|
};
|
|
24
24
|
function setCursorOnInput(e) {
|
|
25
|
-
if (e.defaultPrevented)
|
|
26
|
-
return;
|
|
25
|
+
if (e.defaultPrevented) return;
|
|
27
26
|
const target = e == null ? void 0 : e.target;
|
|
28
|
-
if (target.closest("input, button, a"))
|
|
29
|
-
return;
|
|
27
|
+
if (target.closest("input, button, a")) return;
|
|
30
28
|
const input = [...e.currentTarget.getElementsByTagName("input")].find((input2) => input2);
|
|
31
|
-
if (!input)
|
|
32
|
-
return;
|
|
29
|
+
if (!input) return;
|
|
33
30
|
const position = input.compareDocumentPosition(target);
|
|
34
31
|
const targetIsBeforeInput = (position & Node.DOCUMENT_POSITION_PRECEDING) !== 0;
|
|
35
32
|
const cursorPosition = targetIsBeforeInput ? 0 : input.value.length;
|
|
@@ -54,8 +51,7 @@ const Root = React.forwardRef(
|
|
|
54
51
|
onPointerDown: (e) => {
|
|
55
52
|
var _a;
|
|
56
53
|
(_a = props.onPointerDown) == null ? void 0 : _a.call(props, e);
|
|
57
|
-
if (preventGroupClickSelect)
|
|
58
|
-
return;
|
|
54
|
+
if (preventGroupClickSelect) return;
|
|
59
55
|
setCursorOnInput(e);
|
|
60
56
|
},
|
|
61
57
|
ref: forwardRef,
|
|
@@ -71,8 +67,7 @@ const Root = React.forwardRef(
|
|
|
71
67
|
Root.displayName = "Root";
|
|
72
68
|
const Indicator = React.forwardRef(
|
|
73
69
|
({ className, isLoading, isValid, ...props }, forwardRef) => {
|
|
74
|
-
if (!isValid && !isLoading)
|
|
75
|
-
return null;
|
|
70
|
+
if (!isValid && !isLoading) return null;
|
|
76
71
|
if (!isValid && isLoading) {
|
|
77
72
|
return /* @__PURE__ */ jsxRuntime.jsx(components_spinner_spinner.Spinner, { className, size: "xs", ...props, ref: forwardRef });
|
|
78
73
|
}
|
|
@@ -98,8 +93,7 @@ const Input = React.forwardRef(
|
|
|
98
93
|
);
|
|
99
94
|
React.useEffect(() => {
|
|
100
95
|
var _a, _b;
|
|
101
|
-
if (!groupContext)
|
|
102
|
-
return;
|
|
96
|
+
if (!groupContext) return;
|
|
103
97
|
if ((_b = (_a = groupContext == null ? void 0 : groupContext.inputRef) == null ? void 0 : _a.current) == null ? void 0 : _b.value.length) {
|
|
104
98
|
return groupContext.setIsDirty(true);
|
|
105
99
|
}
|
|
@@ -110,8 +104,7 @@ const Input = React.forwardRef(
|
|
|
110
104
|
var _a;
|
|
111
105
|
onValueChange == null ? void 0 : onValueChange(e.target.value);
|
|
112
106
|
groupContext == null ? void 0 : groupContext.setIsDirty(((_a = e.target) == null ? void 0 : _a.value.length) > 0);
|
|
113
|
-
if (props.onChange)
|
|
114
|
-
props.onChange(e);
|
|
107
|
+
if (props.onChange) props.onChange(e);
|
|
115
108
|
}
|
|
116
109
|
if (hasInputGroup) {
|
|
117
110
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -142,8 +135,11 @@ const Input = React.forwardRef(
|
|
|
142
135
|
);
|
|
143
136
|
Input.displayName = "Input";
|
|
144
137
|
exports.Indicator = Indicator;
|
|
138
|
+
exports.Indicator$1 = Indicator;
|
|
145
139
|
exports.Input = Input;
|
|
140
|
+
exports.Input$1 = Input;
|
|
146
141
|
exports.InputGroupContext = InputGroupContext;
|
|
147
142
|
exports.Root = Root;
|
|
148
143
|
exports.rootClassName = rootClassName;
|
|
144
|
+
exports.rootClassName$1 = rootClassName;
|
|
149
145
|
exports.styles = styles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import React__default, { useEffect } from "react";
|
|
4
|
-
import "../../assets/sprite.
|
|
4
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
5
5
|
import { Icon } from "../icon/icon.js";
|
|
6
6
|
import { Spinner } from "../spinner/spinner.js";
|
|
7
7
|
import { useComposedRefs } from "../../utils/composeRefs.js";
|
|
@@ -20,14 +20,11 @@ const styles = {
|
|
|
20
20
|
scaleInAnimation
|
|
21
21
|
};
|
|
22
22
|
function setCursorOnInput(e) {
|
|
23
|
-
if (e.defaultPrevented)
|
|
24
|
-
return;
|
|
23
|
+
if (e.defaultPrevented) return;
|
|
25
24
|
const target = e == null ? void 0 : e.target;
|
|
26
|
-
if (target.closest("input, button, a"))
|
|
27
|
-
return;
|
|
25
|
+
if (target.closest("input, button, a")) return;
|
|
28
26
|
const input = [...e.currentTarget.getElementsByTagName("input")].find((input2) => input2);
|
|
29
|
-
if (!input)
|
|
30
|
-
return;
|
|
27
|
+
if (!input) return;
|
|
31
28
|
const position = input.compareDocumentPosition(target);
|
|
32
29
|
const targetIsBeforeInput = (position & Node.DOCUMENT_POSITION_PRECEDING) !== 0;
|
|
33
30
|
const cursorPosition = targetIsBeforeInput ? 0 : input.value.length;
|
|
@@ -52,8 +49,7 @@ const Root = React__default.forwardRef(
|
|
|
52
49
|
onPointerDown: (e) => {
|
|
53
50
|
var _a;
|
|
54
51
|
(_a = props.onPointerDown) == null ? void 0 : _a.call(props, e);
|
|
55
|
-
if (preventGroupClickSelect)
|
|
56
|
-
return;
|
|
52
|
+
if (preventGroupClickSelect) return;
|
|
57
53
|
setCursorOnInput(e);
|
|
58
54
|
},
|
|
59
55
|
ref: forwardRef,
|
|
@@ -69,8 +65,7 @@ const Root = React__default.forwardRef(
|
|
|
69
65
|
Root.displayName = "Root";
|
|
70
66
|
const Indicator = React__default.forwardRef(
|
|
71
67
|
({ className, isLoading, isValid, ...props }, forwardRef) => {
|
|
72
|
-
if (!isValid && !isLoading)
|
|
73
|
-
return null;
|
|
68
|
+
if (!isValid && !isLoading) return null;
|
|
74
69
|
if (!isValid && isLoading) {
|
|
75
70
|
return /* @__PURE__ */ jsx(Spinner, { className, size: "xs", ...props, ref: forwardRef });
|
|
76
71
|
}
|
|
@@ -96,8 +91,7 @@ const Input = React__default.forwardRef(
|
|
|
96
91
|
);
|
|
97
92
|
useEffect(() => {
|
|
98
93
|
var _a, _b;
|
|
99
|
-
if (!groupContext)
|
|
100
|
-
return;
|
|
94
|
+
if (!groupContext) return;
|
|
101
95
|
if ((_b = (_a = groupContext == null ? void 0 : groupContext.inputRef) == null ? void 0 : _a.current) == null ? void 0 : _b.value.length) {
|
|
102
96
|
return groupContext.setIsDirty(true);
|
|
103
97
|
}
|
|
@@ -108,8 +102,7 @@ const Input = React__default.forwardRef(
|
|
|
108
102
|
var _a;
|
|
109
103
|
onValueChange == null ? void 0 : onValueChange(e.target.value);
|
|
110
104
|
groupContext == null ? void 0 : groupContext.setIsDirty(((_a = e.target) == null ? void 0 : _a.value.length) > 0);
|
|
111
|
-
if (props.onChange)
|
|
112
|
-
props.onChange(e);
|
|
105
|
+
if (props.onChange) props.onChange(e);
|
|
113
106
|
}
|
|
114
107
|
if (hasInputGroup) {
|
|
115
108
|
return /* @__PURE__ */ jsx(
|
|
@@ -141,9 +134,12 @@ const Input = React__default.forwardRef(
|
|
|
141
134
|
Input.displayName = "Input";
|
|
142
135
|
export {
|
|
143
136
|
Input as I,
|
|
137
|
+
Indicator,
|
|
138
|
+
Input,
|
|
144
139
|
InputGroupContext,
|
|
145
140
|
Root,
|
|
146
141
|
Indicator as a,
|
|
147
142
|
rootClassName as r,
|
|
143
|
+
rootClassName,
|
|
148
144
|
styles as s
|
|
149
145
|
};
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
require("react/jsx-runtime");
|
|
4
4
|
require("clsx");
|
|
5
5
|
require("react");
|
|
6
|
-
require("../../assets/sprite.
|
|
6
|
+
require("../../assets/sprite.6511e521-teddy.svg");
|
|
7
7
|
require("../icon/icon.cjs");
|
|
8
8
|
require("../spinner/spinner.cjs");
|
|
9
9
|
const components_input_inputGroup = require("./input-group.cjs");
|
|
10
|
-
exports.Indicator = components_input_inputGroup.Indicator;
|
|
10
|
+
exports.Indicator = components_input_inputGroup.Indicator$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "clsx";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../assets/sprite.
|
|
4
|
+
import "../../assets/sprite.6511e521-teddy.svg";
|
|
5
5
|
import "../icon/icon.js";
|
|
6
6
|
import "../spinner/spinner.js";
|
|
7
7
|
import { a } from "./input-group.js";
|
|
@@ -5,5 +5,5 @@ require("clsx");
|
|
|
5
5
|
require("react");
|
|
6
6
|
const components_input_inputGroup = require("./input-group.cjs");
|
|
7
7
|
require("../../utils/composeRefs.cjs");
|
|
8
|
-
exports.Input = components_input_inputGroup.Input;
|
|
9
|
-
exports.rootClassName = components_input_inputGroup.rootClassName;
|
|
8
|
+
exports.Input = components_input_inputGroup.Input$1;
|
|
9
|
+
exports.rootClassName = components_input_inputGroup.rootClassName$1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const components_meterBar_meterBarIndicator = require("./meter-bar-indicator.cjs");
|
|
4
|
-
components_meterBar_meterBarIndicator.Root.displayName = "MeterBar";
|
|
4
|
+
components_meterBar_meterBarIndicator.Root$1.displayName = "MeterBar";
|
|
5
5
|
components_meterBar_meterBarIndicator.Indicator.displayName = "MeterBar.Indicator";
|
|
6
|
-
const MeterBar = Object.assign(components_meterBar_meterBarIndicator.Root, {
|
|
6
|
+
const MeterBar = Object.assign(components_meterBar_meterBarIndicator.Root$1, {
|
|
7
7
|
Indicator: components_meterBar_meterBarIndicator.Indicator
|
|
8
8
|
});
|
|
9
9
|
exports.MeterBar = MeterBar;
|
|
@@ -63,5 +63,8 @@ const Root = React.forwardRef(
|
|
|
63
63
|
Root.displayName = "Root";
|
|
64
64
|
exports.Indicator = Indicator;
|
|
65
65
|
exports.Root = Root;
|
|
66
|
+
exports.Root$1 = Root;
|
|
66
67
|
exports.RootContext = RootContext;
|
|
68
|
+
exports.RootContext$1 = RootContext;
|
|
67
69
|
exports.rootClassName = rootClassName;
|
|
70
|
+
exports.rootClassName$1 = rootClassName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { isValidMaxNumber, DEFAULT_MAX, isNumber, defaultGetValueLabel,
|
|
4
|
+
import { isValidMaxNumber, DEFAULT_MAX, isNumber, defaultGetValueLabel, getProgress, isValidValueNumber } from "./utils.js";
|
|
5
5
|
const slideInFromLeft = "_slideInFromLeft_1wiil_1";
|
|
6
6
|
const styles = {
|
|
7
7
|
"teddy-meter-bar": "_teddy-meter-bar_1wiil_1",
|
|
@@ -62,6 +62,9 @@ Root.displayName = "Root";
|
|
|
62
62
|
export {
|
|
63
63
|
Indicator,
|
|
64
64
|
Root as R,
|
|
65
|
+
Root,
|
|
66
|
+
RootContext,
|
|
65
67
|
RootContext as a,
|
|
66
|
-
rootClassName as r
|
|
68
|
+
rootClassName as r,
|
|
69
|
+
rootClassName
|
|
67
70
|
};
|
|
@@ -4,6 +4,6 @@ require("react/jsx-runtime");
|
|
|
4
4
|
require("react");
|
|
5
5
|
require("clsx");
|
|
6
6
|
const components_meterBar_meterBarIndicator = require("./meter-bar-indicator.cjs");
|
|
7
|
-
exports.Root = components_meterBar_meterBarIndicator.Root;
|
|
8
|
-
exports.RootContext = components_meterBar_meterBarIndicator.RootContext;
|
|
9
|
-
exports.rootClassName = components_meterBar_meterBarIndicator.rootClassName;
|
|
7
|
+
exports.Root = components_meterBar_meterBarIndicator.Root$1;
|
|
8
|
+
exports.RootContext = components_meterBar_meterBarIndicator.RootContext$1;
|
|
9
|
+
exports.rootClassName = components_meterBar_meterBarIndicator.rootClassName$1;
|
|
@@ -19,8 +19,7 @@ const styles = {
|
|
|
19
19
|
};
|
|
20
20
|
const rootClassName = "metricmeter";
|
|
21
21
|
const css = (suffix) => {
|
|
22
|
-
if (suffix == null)
|
|
23
|
-
return "";
|
|
22
|
+
if (suffix == null) return "";
|
|
24
23
|
let tmp = null;
|
|
25
24
|
if (suffix.startsWith("_") || suffix.startsWith("-") || suffix === "") {
|
|
26
25
|
tmp = clsx([styles[`${rootClassName + suffix}`]], "");
|
|
@@ -17,8 +17,7 @@ const styles = {
|
|
|
17
17
|
};
|
|
18
18
|
const rootClassName = "metricmeter";
|
|
19
19
|
const css = (suffix) => {
|
|
20
|
-
if (suffix == null)
|
|
21
|
-
return "";
|
|
20
|
+
if (suffix == null) return "";
|
|
22
21
|
let tmp = null;
|
|
23
22
|
if (suffix.startsWith("_") || suffix.startsWith("-") || suffix === "") {
|
|
24
23
|
tmp = clsx([styles[`${rootClassName + suffix}`]], "");
|
|
@@ -9,4 +9,4 @@ require("./modal-overlay.cjs");
|
|
|
9
9
|
require("./modal-group.cjs");
|
|
10
10
|
const components_radioCardGroup_radioCardGroupItemTitle = require("../radio-card-group/radio-card-group-item-title.cjs");
|
|
11
11
|
require("./modal-image.cjs");
|
|
12
|
-
exports.Modal = components_radioCardGroup_radioCardGroupItemTitle.Modal;
|
|
12
|
+
exports.Modal = components_radioCardGroup_radioCardGroupItemTitle.Modal$1;
|