@v-miniapp/ui-react 1.0.59 → 1.0.71
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/_virtual/_cloneBuffer.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +8 -0
- package/dist/_virtual/_nodeUtil.js +4 -0
- package/dist/_virtual/cloneDeepWith.js +7 -0
- package/dist/_virtual/isBuffer.js +4 -0
- package/dist/_virtual/isObject.js +7 -0
- package/dist/_virtual/isSameOrAfter.js +7 -0
- package/dist/_virtual/isSameOrAfter2.js +4 -0
- package/dist/_virtual/isSameOrBefore.js +7 -0
- package/dist/_virtual/isSameOrBefore2.js +4 -0
- package/dist/_virtual/merge.js +7 -0
- package/dist/_virtual/omit.js +7 -0
- package/dist/_virtual/pick.js +7 -0
- package/dist/_virtual/throttle.js +7 -0
- package/dist/assets/icons/loader.svg.js +5 -0
- package/dist/assets/icons/placeholder.svg.js +5 -0
- package/dist/assets/images/broken-image.svg.js +5 -0
- package/dist/assets/images/default-error.png.js +4 -0
- package/dist/assets/images/image.svg.js +5 -0
- package/dist/components/ai-app/ai-app.d.ts +7 -0
- package/dist/components/ai-app/ai-app.js +20 -0
- package/dist/components/ai-app/index.d.ts +1 -0
- package/dist/components/alert/alert.js +76 -0
- package/dist/components/app/app.d.ts +1 -6
- package/dist/components/app/app.js +78 -0
- package/dist/components/app/app.store.d.ts +6 -0
- package/dist/components/app/app.store.js +8 -0
- package/dist/components/app/bottom-tab-bar-layout/hook.js +36 -0
- package/dist/components/app/bottom-tab-bar-layout/index.js +38 -0
- package/dist/components/app/bottom-tab-bar-layout/store.js +54 -0
- package/dist/components/app/data-theme.js +29 -0
- package/dist/components/app/navigation-bar-layout/hook.js +39 -0
- package/dist/components/app/navigation-bar-layout/index.js +46 -0
- package/dist/components/app/navigation-bar-layout/store.js +60 -0
- package/dist/components/app/page-layout/hook.js +62 -0
- package/dist/components/app/page-layout/index.js +21 -0
- package/dist/components/app/page-layout/store.js +52 -0
- package/dist/components/avatar/avatar.js +79 -0
- package/dist/components/badge/badge.js +40 -0
- package/dist/components/bottom-tab-bar/bottom-tab-bar.js +90 -0
- package/dist/components/button/button.const.js +7 -0
- package/dist/components/button/button.js +62 -0
- package/dist/components/calendar/calendar-range-sheet.js +66 -0
- package/dist/components/calendar/calendar-single-sheet.js +64 -0
- package/dist/components/calendar/calendar.js +16 -0
- package/dist/components/calendar/default-render.js +16 -0
- package/dist/components/calendar/range-picker.js +301 -0
- package/dist/components/calendar/single-picker.js +186 -0
- package/dist/components/calendar/utils.js +25 -0
- package/dist/components/carousel/carousel.js +47 -0
- package/dist/components/carousel/use-carousel.js +54 -0
- package/dist/components/checkbox/check-icon.js +23 -0
- package/dist/components/checkbox/checkbox.js +131 -0
- package/dist/components/checkbox/indeterminate-icon.js +20 -0
- package/dist/components/chip/chip.js +80 -0
- package/dist/components/date-field/date-field-range.js +153 -0
- package/dist/components/date-field/date-field.js +100 -0
- package/dist/components/date-field/input.js +53 -0
- package/dist/components/date-picker/date-picker-base.js +214 -0
- package/dist/components/date-picker/date-picker-item.js +69 -0
- package/dist/components/date-picker/date-picker-sheet.js +54 -0
- package/dist/components/date-picker/date-picker.constant.js +11 -0
- package/dist/components/date-picker/date-picker.js +76 -0
- package/dist/components/date-picker/date-picker.utils.js +58 -0
- package/dist/components/dialog/dialog.js +115 -0
- package/dist/components/dropdown/dropdown-base.js +22 -0
- package/dist/components/dropdown/dropdown.js +148 -0
- package/dist/components/error/error-boundary.js +28 -0
- package/dist/components/error/error.js +25 -0
- package/dist/components/icon/icon-mapping.js +260 -0
- package/dist/components/icon/icon.js +54 -0
- package/dist/components/image/image.js +70 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input-wrapper/input-wrapper.js +153 -0
- package/dist/components/label/label.js +58 -0
- package/dist/components/layout/page-loading.js +39 -0
- package/dist/components/layout/page.js +103 -0
- package/dist/components/list-item/list-item.js +36 -0
- package/dist/components/navigation-bar/navigation-bar.d.ts +1 -4
- package/dist/components/navigation-bar/navigation-bar.js +106 -0
- package/dist/components/number-field/number-field.js +162 -0
- package/dist/components/option-item/option-item.js +56 -0
- package/dist/components/pagination/pagination.js +20 -0
- package/dist/components/pull-to-refresh/pull-to-refresh.js +120 -0
- package/dist/components/radio/radio.js +72 -0
- package/dist/components/rating/rating.js +62 -0
- package/dist/components/rating/star.js +22 -0
- package/dist/components/search-field/search-field.js +40 -0
- package/dist/components/section/section-content.js +10 -0
- package/dist/components/section/section-title.js +32 -0
- package/dist/components/section/section.js +21 -0
- package/dist/components/seo/seo.js +18 -0
- package/dist/components/sheet/sheet-body.js +25 -0
- package/dist/components/sheet/sheet-footer.js +11 -0
- package/dist/components/sheet/sheet-header.js +52 -0
- package/dist/components/sheet/sheet.js +72 -0
- package/dist/components/skeleton/skeleton.js +50 -0
- package/dist/components/switch/switch.js +68 -0
- package/dist/components/tab-bar/tab-bar.js +130 -0
- package/dist/components/tab-bar/tab.js +55 -0
- package/dist/components/text-area/text-area.js +75 -0
- package/dist/components/text-field/text-field.js +63 -0
- package/dist/components/toast/toast-provider.js +45 -0
- package/dist/components/toast/toast.js +66 -0
- package/dist/components/toast/toast.store.js +35 -0
- package/dist/components/tooltip/tooltip.js +43 -0
- package/dist/components/typography/typography.js +28 -0
- package/dist/components/uploader/helper.js +21 -0
- package/dist/components/uploader/uploader.js +93 -0
- package/dist/components/visibility-sensor/visibility-sensor.js +17 -0
- package/dist/docs/ui-react/icon-list-grid.d.ts +1 -0
- package/dist/external/index.js +13357 -13497
- package/dist/external/styles.css +1 -1
- package/dist/hooks/use-custom-icon-event.js +16 -0
- package/dist/hooks/use-settings-changed.js +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +139 -7488
- package/dist/locales/en.json.js +30 -0
- package/dist/locales/index.d.ts +2 -0
- package/dist/locales/index.js +10 -0
- package/dist/locales/vi.json.js +30 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrAfter.js +18 -0
- package/dist/node_modules/.pnpm/dayjs@1.11.19/node_modules/dayjs/plugin/isSameOrBefore.js +18 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_DataView.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Hash.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_ListCache.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Map.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_MapCache.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Promise.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Set.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Stack.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Uint8Array.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_WeakMap.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_apply.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayEach.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayFilter.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayLikeKeys.js +26 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayMap.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_arrayPush.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignMergeValue.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assignValue.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_assocIndexOf.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssign.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignIn.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseAssignValue.js +19 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseClone.js +70 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseCreate.js +23 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFlatten.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseFor.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGet.js +18 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetAllKeys.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseHasIn.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsArguments.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsMap.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsNative.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsSet.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseIsTypedArray.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeys.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseKeysIn.js +21 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMerge.js +27 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseMergeDeep.js +38 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePick.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_basePickBy.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseRest.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSet.js +31 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSetToString.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseSlice.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTimes.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseToString.js +24 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnary.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseUnset.js +34 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_castPath.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneArrayBuffer.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneBuffer.js +19 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneDataView.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneRegExp.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneSymbol.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_cloneTypedArray.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyArray.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copyObject.js +21 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbols.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_copySymbolsIn.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_coreJsData.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createAssigner.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_createBaseFor.js +19 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_customOmitClone.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_defineProperty.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_flatRest.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeys.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getAllKeysIn.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getMapData.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getNative.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getPrototype.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js +21 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbols.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getSymbolsIn.js +18 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getTag.js +33 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getValue.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hasPath.js +26 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashClear.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashDelete.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashGet.js +19 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashHas.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_hashSet.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneArray.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneByTag.js +48 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_initCloneObject.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isFlattenable.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIndex.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isIterateeCall.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKey.js +18 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isKeyable.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isMasked.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_isPrototype.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheClear.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheDelete.js +18 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheGet.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheHas.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_listCacheSet.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheClear.js +20 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheDelete.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheGet.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheHas.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_mapCacheSet.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_memoizeCapped.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeCreate.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeys.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nativeKeysIn.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_nodeUtil.js +19 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overArg.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_overRest.js +21 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_parent.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js +11 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_safeGet.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_setToString.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_shortOut.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackClear.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackDelete.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackGet.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackHas.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stackSet.js +23 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_stringToPath.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toKey.js +17 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_toSource.js +23 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/cloneDeepWith.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/constant.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js +60 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/eq.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/flatten.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/hasIn.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/identity.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArguments.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArray.js +10 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLike.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isArrayLikeObject.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isBuffer.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isFunction.js +18 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isLength.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isMap.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isPlainObject.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSet.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isTypedArray.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keys.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/keysIn.js +16 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/last.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/memoize.js +23 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/merge.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js +13 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/omit.js +29 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/pick.js +14 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubArray.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/stubFalse.js +12 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/throttle.js +22 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js +28 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toPlainObject.js +15 -0
- package/dist/node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toString.js +14 -0
- package/dist/styles.css +1 -1
- package/dist/utils/bound.js +7 -0
- package/dist/utils/can-use-dom.js +4 -0
- package/dist/utils/classname.js +6 -0
- package/dist/utils/colors.gen.js +371 -0
- package/dist/utils/colors.js +8 -0
- package/dist/utils/convert-px.js +14 -0
- package/dist/utils/date.d.ts +2 -1
- package/dist/utils/date.js +9 -0
- package/dist/utils/deep-clone.js +10 -0
- package/dist/utils/dev-log.js +7 -0
- package/dist/utils/get-scroll-parent.js +20 -0
- package/dist/utils/is-dev.js +4 -0
- package/dist/utils/rubberband.js +11 -0
- package/dist/utils/sleep.js +4 -0
- package/dist/utils/supports-passive.js +15 -0
- package/dist/utils/to-css-length.js +6 -0
- package/dist/vsf/choose-image.js +14 -0
- package/dist-storybook/assets/AIApp-C4keJkW8.js +37 -0
- package/dist-storybook/assets/{App-Dp1UG-xp.js → App-BkiRuUOF.js} +1 -1
- package/dist-storybook/assets/Color-6BZIO3FS-EdXZe4iv.js +1 -0
- package/dist-storybook/assets/{DEEPLINK-cjgFMuRJ.js → DEEPLINK-CvpIbZVm.js} +1 -1
- package/dist-storybook/assets/DocsRenderer-LL677BLK-Ch7ovClC.js +2 -0
- package/dist-storybook/assets/{EVENTS-BY66PjI7.js → EVENTS-Bnl2ehlm.js} +1 -1
- package/dist-storybook/assets/{GETTING_STARTED-BiQMvjvo.js → GETTING_STARTED-BYcN9hg3.js} +1 -1
- package/dist-storybook/assets/{GETTING_STARTED-580o-9Mx.js → GETTING_STARTED-BmHWFQQE.js} +1 -1
- package/dist-storybook/assets/GETTING_STARTED-C1AOB25Z.js +45 -0
- package/dist-storybook/assets/{GETTING_STARTED-CIVMqKZW.js → GETTING_STARTED-CBY9dL2_.js} +1 -1
- package/dist-storybook/assets/ICON-BaZgXbtw.js +6 -0
- package/dist-storybook/assets/ICON-CT1pTB1A.js +6 -0
- package/dist-storybook/assets/{INFINITE_SCROLL-BbeR5HeP.js → INFINITE_SCROLL-BJeWhgO7.js} +1 -1
- package/dist-storybook/assets/{LocalesProvider-CMlmwAyY.js → LocalesProvider-CQEwtoq3.js} +1 -1
- package/dist-storybook/assets/{MIGRATE_DARKMODE_TO_THEME-CBDyZyg2.js → MIGRATE_DARKMODE_TO_THEME-DCxXgvQC.js} +1 -1
- package/dist-storybook/assets/{MIGRATION_GUIDE-FZyRWI-B.js → MIGRATION_GUIDE-BN_V-xNj.js} +1 -1
- package/dist-storybook/assets/OVERVIEW-AI-CLWBzviY.js +35 -0
- package/dist-storybook/assets/{OVERVIEW-C9_6gX5Q.js → OVERVIEW-Byly3lQV.js} +1 -1
- package/dist-storybook/assets/{Router-B5U8bubH.js → Router-CO6rjSXr.js} +1 -1
- package/dist-storybook/assets/{TAILWIND_INTEGRATION-BJdy5DAv.js → TAILWIND_INTEGRATION-CpN4_fSu.js} +1 -1
- package/dist-storybook/assets/{THEME-CRbvH7KT.js → THEME-B9Y39f9D.js} +1 -1
- package/dist-storybook/assets/WithTooltip-65CFNBJE-D6J_7FjK.js +9 -0
- package/dist-storybook/assets/{alert.stories-D0X5wUHk.js → alert.stories-CUItfPLn.js} +12 -12
- package/dist-storybook/assets/app.store-BJVKVv1J.js +1 -0
- package/dist-storybook/assets/avatar.stories-8_vV7Bb0.js +136 -0
- package/dist-storybook/assets/{axe-BHGdSCoA.js → axe-4EaTvypG.js} +13 -13
- package/dist-storybook/assets/badge-Gh2kTOE3.js +1 -0
- package/dist-storybook/assets/{badge.stories-BEFNaUA1.js → badge.stories-BXGAtgaV.js} +3 -3
- package/dist-storybook/assets/blocks-CB7UwFa4.js +758 -0
- package/dist-storybook/assets/bottom-tab-bar.stories-OrY-k1sb.js +280 -0
- package/dist-storybook/assets/button-BLW8SOpg.js +1 -0
- package/dist-storybook/assets/{button.stories-DgYDJ6x7.js → button.stories--0kpp_af.js} +3 -3
- package/dist-storybook/assets/calendar-ySr-9cXG.js +1 -0
- package/dist-storybook/assets/{calendar.stories-IVvRAjWN.js → calendar.stories-4MQj1nsX.js} +1 -1
- package/dist-storybook/assets/carousel.stories-CMtljvBR.js +253 -0
- package/dist-storybook/assets/checkbox.stories-xYjsVg2X.js +201 -0
- package/dist-storybook/assets/{chip.stories-D7E6fdiV.js → chip.stories-DYEfUGq3.js} +12 -12
- package/dist-storybook/assets/classname-Bl5epEs-.js +1 -0
- package/dist-storybook/assets/client-CN8vOzuD.js +9 -0
- package/dist-storybook/assets/{date-B3PFMb6s.js → date-DWIyMGld.js} +1 -1
- package/dist-storybook/assets/date-field.stories-5Tlzdpvr.js +129 -0
- package/dist-storybook/assets/date-picker-DeB43YU4.js +1 -0
- package/dist-storybook/assets/{date-picker.stories-CIFgk4q_.js → date-picker.stories-Shn-MmVG.js} +1 -1
- package/dist-storybook/assets/dialog.stories-DeNKN0oJ.js +212 -0
- package/dist-storybook/assets/dropdown.stories-Bqmu2_KM.js +449 -0
- package/dist-storybook/assets/{embla-carousel-react.esm-5D5fs7OQ.js → embla-carousel-react.esm-DOEAp-w3.js} +1 -1
- package/dist-storybook/assets/{en-Cs9O0XWn.js → en-IjeCvZ5U.js} +1 -1
- package/dist-storybook/assets/formatter-EIJCOSYU-DZLV30KU.js +1 -0
- package/dist-storybook/assets/icon-Cc9W858e.js +1 -0
- package/dist-storybook/assets/icon-list-grid-CSnpdoAW.js +1 -0
- package/dist-storybook/assets/{icon.stories-DWwbUUY-.js → icon.stories-DE484rTd.js} +3 -3
- package/dist-storybook/assets/iframe-BBKyXin_.css +1 -0
- package/dist-storybook/assets/iframe-Crg_lbde.js +1119 -0
- package/dist-storybook/assets/image-CB4oeTy-.js +9 -0
- package/dist-storybook/assets/{image.stories-BhZU057W.js → image.stories-BlYIb_Qu.js} +1 -1
- package/dist-storybook/assets/index-B24pfkXD.js +1 -0
- package/dist-storybook/assets/{index-cMNObl2z.js → index-CdnALcTP.js} +1 -1
- package/dist-storybook/assets/{index-EGt7xBnA.js → index-hDlmuyu2.js} +1 -1
- package/dist-storybook/assets/input-wrapper-Gd3QJKqj.js +1 -0
- package/dist-storybook/assets/label-zfqCJTGJ.js +22 -0
- package/dist-storybook/assets/{label.stories-CXJjdYf_.js → label.stories-C-MVt-cu.js} +3 -3
- package/dist-storybook/assets/matchers-5TDFFDYO-HJu_DfWo.js +14 -0
- package/dist-storybook/assets/navigation-bar.stories-CZ-y3eDE.js +136 -0
- package/dist-storybook/assets/number-field.stories-BA0FySSU.js +167 -0
- package/dist-storybook/assets/omit-CRXr8Lio.js +1 -0
- package/dist-storybook/assets/option-item-DFWc14Up.js +1 -0
- package/dist-storybook/assets/{option-item.stories-BvXoc8WX.js → option-item.stories-DqA-ydWX.js} +3 -3
- package/dist-storybook/assets/pagination-CjgiVNvu.js +1 -0
- package/dist-storybook/assets/{pagination.stories-_5qj2nTS.js → pagination.stories-BsKHvdF4.js} +4 -4
- package/dist-storybook/assets/{radio.stories-BNR-wwuw.js → radio.stories-CBmxZRxo.js} +10 -10
- package/dist-storybook/assets/{rating.stories-CI0LG0Qq.js → rating.stories-CcdFtcNH.js} +9 -9
- package/dist-storybook/assets/react-18-D2tl8ksm.js +1 -0
- package/dist-storybook/assets/{react-I9jCW2VV.js → react-DO0-owxu.js} +1 -1
- package/dist-storybook/assets/search-field-zl4ROLfn.js +1 -0
- package/dist-storybook/assets/{search-field.stories-CKXC6-Za.js → search-field.stories-DoclnxtC.js} +1 -1
- package/dist-storybook/assets/{section.stories-9vd48AgB.js → section.stories-Bqz_QgYp.js} +8 -8
- package/dist-storybook/assets/sheet-body-2dWL2AE5.js +1 -0
- package/dist-storybook/assets/sheet-footer-DuPhbVOb.js +1 -0
- package/dist-storybook/assets/{sheet.stories-C3gLIQsn.js → sheet.stories-CoXnt4LG.js} +4 -4
- package/dist-storybook/assets/skeleton-BVLpHxKT.js +1 -0
- package/dist-storybook/assets/{skeleton.stories-C0y1o1Y_.js → skeleton.stories-B-OfMZId.js} +3 -3
- package/dist-storybook/assets/{store-Ce3Ikv5g.js → store-BwIebEt6.js} +5 -5
- package/dist-storybook/assets/{switch.stories-BdWFln-M.js → switch.stories-D4PQjgbo.js} +9 -9
- package/dist-storybook/assets/syntaxhighlighter-ED5Y7EFY-BxRQp_WE.js +6 -0
- package/dist-storybook/assets/tab-bar.stories-BrcQMypS.js +164 -0
- package/dist-storybook/assets/{text-area.stories-DCt3RB3A.js → text-area.stories-Bpaw2_4A.js} +10 -10
- package/dist-storybook/assets/text-field-CqJG0bIl.js +1 -0
- package/dist-storybook/assets/{text-field.stories-Bqv7f948.js → text-field.stories-PQoP3DbL.js} +1 -1
- package/dist-storybook/assets/toast.stories-DmPy9T3m.js +209 -0
- package/dist-storybook/assets/{tooltip.stories-DDdsuU3U.js → tooltip.stories-Be_kIaDc.js} +8 -8
- package/dist-storybook/assets/typography-CMIMyivt.js +1 -0
- package/dist-storybook/assets/{typography.stories-BzCxaZQU.js → typography.stories-DSt5W_AG.js} +3 -3
- package/dist-storybook/assets/uploader.stories-C5CmeXEk.js +65 -0
- package/dist-storybook/assets/{use-app-pause-ClsUnndr.js → use-app-pause-_ycnhKwZ.js} +3 -3
- package/dist-storybook/assets/{use-app-resume-D_EcIvMd.js → use-app-resume-CWb2s-wo.js} +1 -1
- package/dist-storybook/assets/{use-bottom-tab-bar-BC1cz2uE.js → use-bottom-tab-bar--DRl-8c4.js} +1 -1
- package/dist-storybook/assets/{use-custom-icon-event-cUk4Md0Y.js → use-custom-icon-event-BXcRPkLg.js} +1 -1
- package/dist-storybook/assets/{use-did-hide-BmABiaUE.js → use-did-hide-LBcrwoUo.js} +1 -1
- package/dist-storybook/assets/{use-did-show-CQuySkkT.js → use-did-show-BXLstTgt.js} +1 -1
- package/dist-storybook/assets/{use-histories-CBm09Lno.js → use-histories-Cz7ncXaj.js} +1 -1
- package/dist-storybook/assets/{use-history-7yguNz6O.js → use-history-B_w6SPwr.js} +1 -1
- package/dist-storybook/assets/{use-language-DPyWMce2.js → use-language-D84C9QNT.js} +1 -1
- package/dist-storybook/assets/{use-load-more-KlDJZhj2.js → use-load-more-Bb9YFkAE.js} +1 -1
- package/dist-storybook/assets/{use-location-C7kE1yla.js → use-location-DnxJ5FvJ.js} +1 -1
- package/dist-storybook/assets/{use-navigate-BpIyvtwc.js → use-navigate-OLqoL3vR.js} +3 -3
- package/dist-storybook/assets/{use-navigation-bar-guzwhM_u.js → use-navigation-bar-D5BX6S-r.js} +15 -15
- package/dist-storybook/assets/{use-navigation-type-DOndDqQH.js → use-navigation-type-Cq7T35ur.js} +1 -1
- package/dist-storybook/assets/{use-page-layout-dO6ylI1b.js → use-page-layout-BrFRWwC6.js} +1 -1
- package/dist-storybook/assets/{use-page-scroll-CCG2d2Gb.js → use-page-scroll-BZ8XiPza.js} +1 -1
- package/dist-storybook/assets/{use-pull-to-refresh-lhumDu1H.js → use-pull-to-refresh-BEjtxiFn.js} +1 -1
- package/dist-storybook/assets/{use-settings-changed-Bt58DJ-c.js → use-settings-changed-UaQRSWAg.js} +1 -1
- package/dist-storybook/assets/{use-translate-Jhz6jTXo.js → use-translate-BO8E9Sde.js} +1 -1
- package/dist-storybook/iframe.html +58 -40
- package/dist-storybook/index.html +8 -16
- package/dist-storybook/index.json +1 -1
- package/dist-storybook/project.json +1 -1
- package/dist-storybook/sb-addons/a11y-2/manager-bundle.js +55 -3
- package/dist-storybook/sb-addons/docs-1/manager-bundle.js +1 -149
- package/dist-storybook/sb-addons/storybook-build-3/manager-bundle.js +19 -1
- package/dist-storybook/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +93 -436
- package/dist-storybook/sb-manager/globals-runtime.js +73307 -65142
- package/dist-storybook/sb-manager/globals.js +6 -16
- package/dist-storybook/sb-manager/manager-stores.js +23 -0
- package/dist-storybook/sb-manager/runtime.js +17679 -10455
- package/dist-storybook/stories-data.json +91 -27
- package/dist-storybook/vite-inject-mocker-entry.js +2 -2
- package/package.json +5 -5
- package/dist-storybook/assets/Color-AVL7NMMY-XA8cFKdV.js +0 -1
- package/dist-storybook/assets/DocsRenderer-PQXLIZUC-D10-0Yfb.js +0 -2
- package/dist-storybook/assets/_baseClone-DQVxEhny.js +0 -1
- package/dist-storybook/assets/alert-CKwsuaPI.js +0 -1
- package/dist-storybook/assets/app-CTv8lFU3.js +0 -1
- package/dist-storybook/assets/avatar-rWcYGe6j.js +0 -1
- package/dist-storybook/assets/avatar.stories-8lrbhMma.js +0 -136
- package/dist-storybook/assets/badge-VcjGVEum.js +0 -1
- package/dist-storybook/assets/blocks-DKR3P4qW.js +0 -1243
- package/dist-storybook/assets/bottom-tab-bar-B6IAoRwz.js +0 -115
- package/dist-storybook/assets/bottom-tab-bar.stories-DXzLlO5o.js +0 -186
- package/dist-storybook/assets/button-DJH3RlJl.js +0 -1
- package/dist-storybook/assets/calendar-C4Xe_TW2.js +0 -1
- package/dist-storybook/assets/carousel-DJlgMyS5.js +0 -37
- package/dist-storybook/assets/carousel.stories-3rA3nxdL.js +0 -217
- package/dist-storybook/assets/checkbox-JOxcmyCZ.js +0 -1
- package/dist-storybook/assets/checkbox.stories-ge3pgfBb.js +0 -201
- package/dist-storybook/assets/chip-Crt60rph.js +0 -1
- package/dist-storybook/assets/date-field-range-B-sv9nbW.js +0 -1
- package/dist-storybook/assets/date-field.stories-B9G2heHt.js +0 -129
- package/dist-storybook/assets/date-picker-BPzKPdhO.js +0 -1
- package/dist-storybook/assets/dialog-BAfGQzk5.js +0 -1
- package/dist-storybook/assets/dialog.stories-vDMKz9Tw.js +0 -212
- package/dist-storybook/assets/dropdown-Dtomaqpw.js +0 -247
- package/dist-storybook/assets/dropdown.stories-Cj0HM0VI.js +0 -200
- package/dist-storybook/assets/icon-CdiFzFyf.js +0 -1
- package/dist-storybook/assets/iframe-BHaCv4dM.css +0 -1
- package/dist-storybook/assets/iframe-DfPay7Zl.js +0 -1071
- package/dist-storybook/assets/image-CMKb-R3x.js +0 -9
- package/dist-storybook/assets/index-BWpuenI4.js +0 -1
- package/dist-storybook/assets/index-DqZh6B0b.js +0 -1
- package/dist-storybook/assets/input-wrapper-CgaUwbbE.js +0 -1
- package/dist-storybook/assets/label-D44azUgi.js +0 -27
- package/dist-storybook/assets/matchers-7Z3WT2CE-Dw4MQV_s.js +0 -14
- package/dist-storybook/assets/navigation-bar-DK3TxcTu.js +0 -79
- package/dist-storybook/assets/navigation-bar.stories-CB3Kg-sH.js +0 -73
- package/dist-storybook/assets/number-field-Bz7su9S1.js +0 -1
- package/dist-storybook/assets/number-field.stories-DSxPSzLv.js +0 -167
- package/dist-storybook/assets/omit-BWHsnDSR.js +0 -1
- package/dist-storybook/assets/option-item-CpeNcb5w.js +0 -1
- package/dist-storybook/assets/pagination-Cp-DHO4Q.js +0 -1
- package/dist-storybook/assets/proxy-B4G9nIBd.js +0 -1
- package/dist-storybook/assets/radio-D0aV0RIg.js +0 -1
- package/dist-storybook/assets/rating-D2e8RTGl.js +0 -1
- package/dist-storybook/assets/react-18-C7pDmBBf.js +0 -9
- package/dist-storybook/assets/search-field-DINESW8Y.js +0 -1
- package/dist-storybook/assets/section-content-D49PabBW.js +0 -1
- package/dist-storybook/assets/sheet-footer-nEdxsYan.js +0 -1
- package/dist-storybook/assets/skeleton-B12XbNAJ.js +0 -1
- package/dist-storybook/assets/switch-D0Z9tWin.js +0 -1
- package/dist-storybook/assets/tab-bar-kExoGg5P.js +0 -31
- package/dist-storybook/assets/tab-bar.stories-BgDXX0of.js +0 -136
- package/dist-storybook/assets/text-area-GKy5HL12.js +0 -1
- package/dist-storybook/assets/text-field-CGWNqitB.js +0 -1
- package/dist-storybook/assets/toast-provider-DKSrfhJD.js +0 -9
- package/dist-storybook/assets/toast.stories-CcFzS6QI.js +0 -201
- package/dist-storybook/assets/tooltip-B9rDI6z9.js +0 -1
- package/dist-storybook/assets/typography-CB8hPDyK.js +0 -1
- package/dist-storybook/assets/uploader.stories-izVumFqZ.js +0 -65
- package/dist-storybook/assets/visibility-sensor-Jf-Nmil6.js +0 -1
- package/dist-storybook/sb-manager/globals-module-info.js +0 -799
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as t,r as
|
|
1
|
+
import{j as t,r as W}from"./iframe-Crg_lbde.js";import{T as E,S as _,a as I,P as k,b as O}from"./blocks-CB7UwFa4.js";import{c as S,g as G}from"./classname-Bl5epEs-.js";import{B as R}from"./badge-Gh2kTOE3.js";import{T as P}from"./typography-CMIMyivt.js";import{r as V}from"./icon-Cc9W858e.js";import{t as e}from"./store-BwIebEt6.js";import"./preload-helper-PPVm8Dsz.js";import"./index-CdnALcTP.js";import"./colors-_6nFGM3e.js";const o=G("chip"),s=({theme:i="default",type:n="selection",leadingIcon:r,trailingIcon:l,selected:p,label:C,style:F,className:$,disabled:D,count:j,...b})=>{i=i==="default"?"brand":i;const c=(w,B)=>w?t.jsx("span",{className:S(`${o}__icon`,B),children:V(w)}):null,N=()=>r?c(r,`${o}__icon--leading`):n==="selection"&&p?c({name:"circle-check",type:"fill"},`${o}__icon--leading`):null,T=()=>{if(l)return c(l,`${o}__icon--trailing`);switch(n){case"dropdown":return c({name:"chevron-down"},`${o}__icon--trailing`);case"input":return p?c({name:"xmark"},`${o}__icon--trailing`):null;case"action":return j==null?null:t.jsx(R,{outline:!0,className:`${o}__badge`,children:j});default:return null}};return t.jsxs("div",{className:S(o,{[`${o}--${p?"selected":""}`]:!0,[`${o}--theme-${i}`]:!0,[`${o}--type-${n}`]:!0,[`${o}--disabled`]:D},$),onClick:b.onClick,...b,children:[t.jsx("span",{className:`${o}__overlay`}),N(),t.jsx(P,{component:"span",size:"base",weight:400,className:`${o}__label`,children:C||b.children}),T()]})};s.__docgenInfo={description:"",methods:[],displayName:"Chip",props:{theme:{defaultValue:{value:"'default'",computed:!1},required:!1},type:{defaultValue:{value:"'selection'",computed:!1},required:!1}}};const A=()=>{const i=`
|
|
2
2
|
## ${e("common.table.title")}
|
|
3
3
|
|
|
4
4
|
| ${e("common.table.name")} | ${e("common.table.type")} | ${e("common.table.required")} | ${e("common.table.description")} |
|
|
@@ -14,12 +14,12 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
14
14
|
| \`children\` | \`ReactNode\` | ${e("common.table.no")} | ${e("components.chip.childrenDescription")} |
|
|
15
15
|
| \`className\` | \`string\` | ${e("common.table.no")} | ${e("components.chip.classNameDescription")} |
|
|
16
16
|
| \`...props\` | \`ComponentPropsWithRef<'div'>\` | ${e("common.table.no")} | ${e("components.chip.propsDescription")} |
|
|
17
|
-
`;return t.jsxs(t.Fragment,{children:[t.jsx(j,{}),t.jsx(b,{}),t.jsx(u,{children:e("components.chip.description")}),t.jsx(w,{}),t.jsx(u,{children:i}),t.jsx(I,{})]})},we={title:"Components/Chip",component:s,parameters:{layout:"padded",docs:{page:S}},tags:["autodocs"],argTypes:{theme:{control:"select",options:["default","brand","neutral"],description:e("components.chip.argTypes.themeDescription"),table:{type:{summary:"IChipTheme"},defaultValue:{summary:"default"}}},type:{control:"select",options:["selection","dropdown","action","input"],description:e("components.chip.argTypes.typeDescription"),table:{type:{summary:"IChipType"},defaultValue:{summary:"selection"}}},disabled:{control:"boolean",description:e("components.chip.argTypes.disabledDescription"),table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},selected:{control:"boolean",description:e("components.chip.argTypes.selectedDescription"),table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},label:{control:"text",description:e("components.chip.argTypes.labelDescription"),table:{type:{summary:"ReactNode"}}},count:{control:{type:"number",min:0,max:999,step:1},description:e("components.chip.argTypes.countDescription")},children:{control:"text",description:e("components.chip.argTypes.childrenDescription")},className:{control:"text",description:e("components.chip.argTypes.classNameDescription")}}},n={storyName:e("components.chip.stories.default.title"),args:{children:e("components.chip.stories.interactive.label")}},c={storyName:e("components.chip.stories.types.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.selection")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"selection",children:e("components.chip.stories.types.selection")}),t.jsx(s,{type:"selection",selected:!0,children:e("components.chip.stories.types.selected")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.dropdown")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"dropdown",children:e("components.chip.stories.types.dropdown")}),t.jsxs(s,{type:"dropdown",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.dropdown")]})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.action")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"action",count:5,children:e("components.chip.stories.types.action")}),t.jsx(s,{type:"action",count:99,children:e("components.chip.stories.actionChip.notifications")}),t.jsx(s,{type:"action",count:999,children:e("components.chip.stories.types.highCount")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.input")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"input",children:e("components.chip.stories.types.input")}),t.jsxs(s,{type:"input",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.input")]})]})]})]})},r={storyName:e("components.chip.stories.themes.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.themes.brandTheme")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{theme:"brand",children:e("components.chip.stories.themes.brandTheme")}),t.jsx(s,{theme:"brand",selected:!0,children:e("components.chip.stories.types.selected")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.themes.neutralTheme")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{theme:"neutral",children:e("components.chip.stories.themes.neutralTheme")}),t.jsx(s,{theme:"neutral",selected:!0,children:e("components.chip.stories.types.selected")})]})]})]})},l={storyName:e("components.chip.stories.selectedState.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsxs("h3",{style:{marginBottom:"12px"},children:[e("components.chip.stories.types.selection")," ",e("components.chip.stories.types.input")]}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"selection",children:e("components.chip.stories.types.notSelected")}),t.jsx(s,{type:"selection",selected:!0,children:e("components.chip.stories.types.selectedWithIcon")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.otherTypes")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsxs(s,{type:"dropdown",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.dropdown")]}),t.jsxs(s,{type:"input",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.input")]})]})]})]})},a={storyName:e("components.chip.stories.withIcons.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.withIcons.leadingIcon")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{leadingIcon:{name:"placeholder"},children:e("components.chip.stories.withIcons.withIcon")}),t.jsx(s,{type:"selection",leadingIcon:{name:"placeholder"},selected:!0,children:e("components.chip.stories.withIcons.selectedWithIcon")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.withIcons.trailingIcon")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{trailingIcon:{name:"xmark"},children:e("components.chip.stories.withIcons.withTrailingIcon")}),t.jsx(s,{type:"dropdown",trailingIcon:{name:"placeholder"},children:e("components.chip.stories.withIcons.customTrailingIcon")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.withIcons.bothIcons")}),t.jsx("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:t.jsx(s,{leadingIcon:{name:"placeholder"},trailingIcon:{name:"xmark"},children:e("components.chip.stories.withIcons.bothIcons")})})]})]})},d={storyName:e("components.chip.stories.actionChipWithCount.title"),render:()=>t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"action",count:1,children:e("components.chip.stories.actionChip.notifications")}),t.jsx(s,{type:"action",count:5,children:e("components.chip.stories.actionChip.messages")}),t.jsx(s,{type:"action",count:99,children:e("components.chip.stories.types.highCount")}),t.jsx(s,{type:"action",count:999,children:e("components.chip.stories.types.veryHighCount")})]})},m={storyName:e("components.chip.stories.disabledState.title"),render:()=>t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.disabledState.disabledChips")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{disabled:!0,children:e("components.chip.stories.disabledState.disabled")}),t.jsx(s,{selected:!0,disabled:!0,children:e("components.chip.stories.disabledState.selectedAndDisabled")}),t.jsx(s,{type:"action",count:5,disabled:!0,children:e("components.chip.stories.disabledState.actionDisabled")})]})]})})},h={storyName:e("components.chip.stories.chipGroup.title"),render:()=>{const[i,p]=g.useState([]),f=["Option 1","Option 2","Option 3","Option 4"],v=o=>{i.includes(o)?p(i.filter(C=>C!==o)):p([...i,o])};return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:f.map(o=>t.jsx(s,{type:"selection",selected:i.includes(o),onClick:()=>v(o),children:o},o))}),t.jsxs("p",{style:{fontSize:"14px",color:"#666"},children:[e("components.chip.stories.chipGroup.selected")," ",i.join(", ")||e("components.chip.stories.chipGroup.none")]})]})}},x={storyName:e("components.chip.stories.completeExample.title"),render:()=>{const[i,p]=g.useState(!1);return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.completeExample.filterChips")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"selection",selected:!0,children:e("components.chip.stories.completeExample.all")}),t.jsx(s,{type:"selection",children:e("components.chip.stories.completeExample.active")}),t.jsx(s,{type:"selection",children:e("components.chip.stories.completeExample.completed")}),t.jsx(s,{type:"dropdown",children:e("components.chip.stories.completeExample.sortBy")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.completeExample.actionChips")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"action",count:3,children:e("components.chip.stories.completeExample.inbox")}),t.jsx(s,{type:"action",count:12,children:e("components.chip.stories.actionChip.messages")}),t.jsx(s,{type:"action",count:99,children:e("components.chip.stories.actionChip.notifications")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.completeExample.interactiveChip")}),t.jsx(s,{type:"selection",theme:"brand",selected:i,leadingIcon:{name:"placeholder"},onClick:()=>p(!i),children:e("components.chip.stories.completeExample.favorite")})]})]})}},y={storyName:e("components.chip.stories.interactive.title"),args:{children:e("components.chip.stories.interactive.label"),type:"selection",theme:"default",selected:!1,disabled:!1}};n.parameters={...n.parameters,docs:{...n.parameters?.docs,source:{originalSource:`{
|
|
17
|
+
`;return t.jsxs(t.Fragment,{children:[t.jsx(E,{}),t.jsx(_,{}),t.jsx(I,{children:e("components.chip.description")}),t.jsx(k,{}),t.jsx(I,{children:i}),t.jsx(O,{})]})},Y={title:"Components/Chip",component:s,parameters:{layout:"padded",docs:{page:A}},tags:["autodocs"],argTypes:{theme:{control:"select",options:["default","brand","neutral"],description:e("components.chip.argTypes.themeDescription"),table:{type:{summary:"IChipTheme"},defaultValue:{summary:"default"}}},type:{control:"select",options:["selection","dropdown","action","input"],description:e("components.chip.argTypes.typeDescription"),table:{type:{summary:"IChipType"},defaultValue:{summary:"selection"}}},disabled:{control:"boolean",description:e("components.chip.argTypes.disabledDescription"),table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},selected:{control:"boolean",description:e("components.chip.argTypes.selectedDescription"),table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},label:{control:"text",description:e("components.chip.argTypes.labelDescription"),table:{type:{summary:"ReactNode"}}},count:{control:{type:"number",min:0,max:999,step:1},description:e("components.chip.argTypes.countDescription")},children:{control:"text",description:e("components.chip.argTypes.childrenDescription")},className:{control:"text",description:e("components.chip.argTypes.classNameDescription")}}},a={storyName:e("components.chip.stories.default.title"),args:{children:e("components.chip.stories.interactive.label")}},d={storyName:e("components.chip.stories.types.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.selection")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"selection",children:e("components.chip.stories.types.selection")}),t.jsx(s,{type:"selection",selected:!0,children:e("components.chip.stories.types.selected")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.dropdown")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"dropdown",children:e("components.chip.stories.types.dropdown")}),t.jsxs(s,{type:"dropdown",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.dropdown")]})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.action")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"action",count:5,children:e("components.chip.stories.types.action")}),t.jsx(s,{type:"action",count:99,children:e("components.chip.stories.actionChip.notifications")}),t.jsx(s,{type:"action",count:999,children:e("components.chip.stories.types.highCount")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.input")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"input",children:e("components.chip.stories.types.input")}),t.jsxs(s,{type:"input",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.input")]})]})]})]})},h={storyName:e("components.chip.stories.themes.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.themes.brandTheme")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{theme:"brand",children:e("components.chip.stories.themes.brandTheme")}),t.jsx(s,{theme:"brand",selected:!0,children:e("components.chip.stories.types.selected")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.themes.neutralTheme")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{theme:"neutral",children:e("components.chip.stories.themes.neutralTheme")}),t.jsx(s,{theme:"neutral",selected:!0,children:e("components.chip.stories.types.selected")})]})]})]})},m={storyName:e("components.chip.stories.selectedState.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsxs("h3",{style:{marginBottom:"12px"},children:[e("components.chip.stories.types.selection")," ",e("components.chip.stories.types.input")]}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"selection",children:e("components.chip.stories.types.notSelected")}),t.jsx(s,{type:"selection",selected:!0,children:e("components.chip.stories.types.selectedWithIcon")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.types.otherTypes")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsxs(s,{type:"dropdown",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.dropdown")]}),t.jsxs(s,{type:"input",selected:!0,children:[e("components.chip.stories.types.selected")," ",e("components.chip.stories.types.input")]})]})]})]})},x={storyName:e("components.chip.stories.withIcons.title"),render:()=>t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.withIcons.leadingIcon")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{leadingIcon:{name:"placeholder"},children:e("components.chip.stories.withIcons.withIcon")}),t.jsx(s,{type:"selection",leadingIcon:{name:"placeholder"},selected:!0,children:e("components.chip.stories.withIcons.selectedWithIcon")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.withIcons.trailingIcon")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{trailingIcon:{name:"xmark"},children:e("components.chip.stories.withIcons.withTrailingIcon")}),t.jsx(s,{type:"dropdown",trailingIcon:{name:"placeholder"},children:e("components.chip.stories.withIcons.customTrailingIcon")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.withIcons.bothIcons")}),t.jsx("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:t.jsx(s,{leadingIcon:{name:"placeholder"},trailingIcon:{name:"xmark"},children:e("components.chip.stories.withIcons.bothIcons")})})]})]})},y={storyName:e("components.chip.stories.actionChipWithCount.title"),render:()=>t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"action",count:1,children:e("components.chip.stories.actionChip.notifications")}),t.jsx(s,{type:"action",count:5,children:e("components.chip.stories.actionChip.messages")}),t.jsx(s,{type:"action",count:99,children:e("components.chip.stories.types.highCount")}),t.jsx(s,{type:"action",count:999,children:e("components.chip.stories.types.veryHighCount")})]})},u={storyName:e("components.chip.stories.disabledState.title"),render:()=>t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.disabledState.disabledChips")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{disabled:!0,children:e("components.chip.stories.disabledState.disabled")}),t.jsx(s,{selected:!0,disabled:!0,children:e("components.chip.stories.disabledState.selectedAndDisabled")}),t.jsx(s,{type:"action",count:5,disabled:!0,children:e("components.chip.stories.disabledState.actionDisabled")})]})]})})},f={storyName:e("components.chip.stories.chipGroup.title"),render:()=>{const[i,n]=W.useState([]),r=["Option 1","Option 2","Option 3","Option 4"],l=p=>{i.includes(p)?n(i.filter(C=>C!==p)):n([...i,p])};return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"16px"},children:[t.jsx("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:r.map(p=>t.jsx(s,{type:"selection",selected:i.includes(p),onClick:()=>l(p),children:p},p))}),t.jsxs("p",{style:{fontSize:"14px",color:"#666"},children:[e("components.chip.stories.chipGroup.selected")," ",i.join(", ")||e("components.chip.stories.chipGroup.none")]})]})}},g={storyName:e("components.chip.stories.completeExample.title"),render:()=>{const[i,n]=W.useState(!1);return t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"24px"},children:[t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.completeExample.filterChips")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"selection",selected:!0,children:e("components.chip.stories.completeExample.all")}),t.jsx(s,{type:"selection",children:e("components.chip.stories.completeExample.active")}),t.jsx(s,{type:"selection",children:e("components.chip.stories.completeExample.completed")}),t.jsx(s,{type:"dropdown",children:e("components.chip.stories.completeExample.sortBy")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.completeExample.actionChips")}),t.jsxs("div",{style:{display:"flex",gap:"8px",flexWrap:"wrap"},children:[t.jsx(s,{type:"action",count:3,children:e("components.chip.stories.completeExample.inbox")}),t.jsx(s,{type:"action",count:12,children:e("components.chip.stories.actionChip.messages")}),t.jsx(s,{type:"action",count:99,children:e("components.chip.stories.actionChip.notifications")})]})]}),t.jsxs("div",{children:[t.jsx("h3",{style:{marginBottom:"12px"},children:e("components.chip.stories.completeExample.interactiveChip")}),t.jsx(s,{type:"selection",theme:"brand",selected:i,leadingIcon:{name:"placeholder"},onClick:()=>n(!i),children:e("components.chip.stories.completeExample.favorite")})]})]})}},v={storyName:e("components.chip.stories.interactive.title"),args:{children:e("components.chip.stories.interactive.label"),type:"selection",theme:"default",selected:!1,disabled:!1}};a.parameters={...a.parameters,docs:{...a.parameters?.docs,source:{originalSource:`{
|
|
18
18
|
storyName: t('components.chip.stories.default.title'),
|
|
19
19
|
args: {
|
|
20
20
|
children: t('components.chip.stories.interactive.label')
|
|
21
21
|
}
|
|
22
|
-
}`,...
|
|
22
|
+
}`,...a.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
|
|
23
23
|
storyName: t('components.chip.stories.types.title'),
|
|
24
24
|
render: () => <div style={{
|
|
25
25
|
display: 'flex',
|
|
@@ -106,7 +106,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
</div>
|
|
109
|
-
}`,...
|
|
109
|
+
}`,...d.parameters?.docs?.source}}};h.parameters={...h.parameters,docs:{...h.parameters?.docs,source:{originalSource:`{
|
|
110
110
|
storyName: t('components.chip.stories.themes.title'),
|
|
111
111
|
render: () => <div style={{
|
|
112
112
|
display: 'flex',
|
|
@@ -152,7 +152,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
152
152
|
</div>
|
|
153
153
|
</div>
|
|
154
154
|
</div>
|
|
155
|
-
}`,...
|
|
155
|
+
}`,...h.parameters?.docs?.source}}};m.parameters={...m.parameters,docs:{...m.parameters?.docs,source:{originalSource:`{
|
|
156
156
|
storyName: t('components.chip.stories.selectedState.title'),
|
|
157
157
|
render: () => <div style={{
|
|
158
158
|
display: 'flex',
|
|
@@ -201,7 +201,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
201
201
|
</div>
|
|
202
202
|
</div>
|
|
203
203
|
</div>
|
|
204
|
-
}`,...
|
|
204
|
+
}`,...m.parameters?.docs?.source}}};x.parameters={...x.parameters,docs:{...x.parameters?.docs,source:{originalSource:`{
|
|
205
205
|
storyName: t('components.chip.stories.withIcons.title'),
|
|
206
206
|
render: () => <div style={{
|
|
207
207
|
display: 'flex',
|
|
@@ -275,7 +275,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
275
275
|
</div>
|
|
276
276
|
</div>
|
|
277
277
|
</div>
|
|
278
|
-
}`,...
|
|
278
|
+
}`,...x.parameters?.docs?.source}}};y.parameters={...y.parameters,docs:{...y.parameters?.docs,source:{originalSource:`{
|
|
279
279
|
storyName: t('components.chip.stories.actionChipWithCount.title'),
|
|
280
280
|
render: () => <div style={{
|
|
281
281
|
display: 'flex',
|
|
@@ -295,7 +295,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
295
295
|
{t('components.chip.stories.types.veryHighCount')}
|
|
296
296
|
</Chip>
|
|
297
297
|
</div>
|
|
298
|
-
}`,...
|
|
298
|
+
}`,...y.parameters?.docs?.source}}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
|
|
299
299
|
storyName: t('components.chip.stories.disabledState.title'),
|
|
300
300
|
render: () => <div style={{
|
|
301
301
|
display: 'flex',
|
|
@@ -325,7 +325,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
325
325
|
</div>
|
|
326
326
|
</div>
|
|
327
327
|
</div>
|
|
328
|
-
}`,...
|
|
328
|
+
}`,...u.parameters?.docs?.source}}};f.parameters={...f.parameters,docs:{...f.parameters?.docs,source:{originalSource:`{
|
|
329
329
|
storyName: t('components.chip.stories.chipGroup.title'),
|
|
330
330
|
render: () => {
|
|
331
331
|
const [selected, setSelected] = useState<string[]>([]);
|
|
@@ -360,7 +360,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
360
360
|
</p>
|
|
361
361
|
</div>;
|
|
362
362
|
}
|
|
363
|
-
}`,...
|
|
363
|
+
}`,...f.parameters?.docs?.source}}};g.parameters={...g.parameters,docs:{...g.parameters?.docs,source:{originalSource:`{
|
|
364
364
|
storyName: t('components.chip.stories.completeExample.title'),
|
|
365
365
|
render: () => {
|
|
366
366
|
const [favorite, setFavorite] = useState(false);
|
|
@@ -430,7 +430,7 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
430
430
|
</div>
|
|
431
431
|
</div>;
|
|
432
432
|
}
|
|
433
|
-
}`,...
|
|
433
|
+
}`,...g.parameters?.docs?.source}}};v.parameters={...v.parameters,docs:{...v.parameters?.docs,source:{originalSource:`{
|
|
434
434
|
storyName: t('components.chip.stories.interactive.title'),
|
|
435
435
|
args: {
|
|
436
436
|
children: t('components.chip.stories.interactive.label'),
|
|
@@ -439,4 +439,4 @@ import{j as t,r as g}from"./iframe-DfPay7Zl.js";import{T as j,S as b,M as u,P as
|
|
|
439
439
|
selected: false,
|
|
440
440
|
disabled: false
|
|
441
441
|
}
|
|
442
|
-
}`,...
|
|
442
|
+
}`,...v.parameters?.docs?.source}}};const Z=["Default","Types","Themes","SelectedState","WithIcons","ActionChipWithCount","DisabledState","ChipGroup","CompleteExample","Interactive"];export{y as ActionChipWithCount,f as ChipGroup,g as CompleteExample,a as Default,u as DisabledState,v as Interactive,m as SelectedState,h as Themes,d as Types,x as WithIcons,Z as __namedExportsOrder,Y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as c}from"./iframe-Crg_lbde.js";var o={exports:{}};var i;function p(){return i||(i=1,(function(n){(function(){var f={}.hasOwnProperty;function e(){for(var t="",r=0;r<arguments.length;r++){var s=arguments[r];s&&(t=a(t,u(s)))}return t}function u(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return e.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var s in t)f.call(t,s)&&t[s]&&(r=a(r,s));return r}function a(t,r){return r?t?t+" "+r:t+r:t}n.exports?(e.default=e,n.exports=e):window.classNames=e})()})(o)),o.exports}var l=p();const x=c(l),v=n=>`vsf-${n}`;export{x as c,v as g};
|