@betterinternship/components 2.4.1 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/accordion.js +5 -5
- package/dist/components/ui/accordion.js.map +1 -1
- package/dist/components/ui/app-header.d.ts +8 -1
- package/dist/components/ui/app-header.js +18 -18
- package/dist/components/ui/app-header.js.map +1 -1
- package/dist/components/ui/avatar.js +4 -4
- package/dist/components/ui/avatar.js.map +1 -1
- package/dist/components/ui/badge.js +3 -3
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/button.js +2 -2
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.js +8 -8
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.js +2 -2
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/dialog.js +12 -12
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +16 -16
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/icons.js +12 -12
- package/dist/components/ui/icons.js.map +1 -1
- package/dist/components/ui/input.js +3 -3
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +2 -2
- package/dist/components/ui/label.js.map +1 -1
- package/dist/components/ui/page-header.d.ts +2 -1
- package/dist/components/ui/page-header.js +5 -5
- package/dist/components/ui/page-header.js.map +1 -1
- package/dist/components/ui/popover.js +5 -5
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/separator.js +2 -2
- package/dist/components/ui/separator.js.map +1 -1
- package/dist/components/ui/skeleton.js +2 -2
- package/dist/components/ui/skeleton.js.map +1 -1
- package/dist/components/ui/status-notice.js +4 -4
- package/dist/components/ui/status-notice.js.map +1 -1
- package/dist/components/ui/switch.js +2 -2
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/table.js +9 -9
- package/dist/components/ui/table.js.map +1 -1
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/tooltip.js +5 -5
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/hooks/useClientProcess.js +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/package.json +2 -2
- package/dist/_virtual/_commonjsHelpers.js +0 -6
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/_interop_require_default.js +0 -4
- package/dist/_virtual/_interop_require_default.js.map +0 -1
- package/dist/_virtual/_interop_require_wildcard.js +0 -4
- package/dist/_virtual/_interop_require_wildcard.js.map +0 -1
- package/dist/_virtual/action-async-storage-instance.js +0 -4
- package/dist/_virtual/action-async-storage-instance.js.map +0 -1
- package/dist/_virtual/action-async-storage.external.js +0 -4
- package/dist/_virtual/action-async-storage.external.js.map +0 -1
- package/dist/_virtual/action-revalidation-kind.js +0 -4
- package/dist/_virtual/action-revalidation-kind.js.map +0 -1
- package/dist/_virtual/add-base-path.js +0 -4
- package/dist/_virtual/add-base-path.js.map +0 -1
- package/dist/_virtual/add-locale.js +0 -4
- package/dist/_virtual/add-locale.js.map +0 -1
- package/dist/_virtual/add-locale2.js +0 -4
- package/dist/_virtual/add-locale2.js.map +0 -1
- package/dist/_virtual/add-path-prefix.js +0 -4
- package/dist/_virtual/add-path-prefix.js.map +0 -1
- package/dist/_virtual/app-paths.js +0 -4
- package/dist/_virtual/app-paths.js.map +0 -1
- package/dist/_virtual/app-router-context.shared-runtime.js +0 -4
- package/dist/_virtual/app-router-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/app.js +0 -4
- package/dist/_virtual/app.js.map +0 -1
- package/dist/_virtual/async-local-storage.js +0 -4
- package/dist/_virtual/async-local-storage.js.map +0 -1
- package/dist/_virtual/bailout-to-csr.js +0 -4
- package/dist/_virtual/bailout-to-csr.js.map +0 -1
- package/dist/_virtual/blocking-route-messages.js +0 -4
- package/dist/_virtual/blocking-route-messages.js.map +0 -1
- package/dist/_virtual/boundary-constants.js +0 -4
- package/dist/_virtual/boundary-constants.js.map +0 -1
- package/dist/_virtual/boundary-constants2.js +0 -4
- package/dist/_virtual/boundary-constants2.js.map +0 -1
- package/dist/_virtual/boundary-tracking.js +0 -4
- package/dist/_virtual/boundary-tracking.js.map +0 -1
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/constants.js.map +0 -1
- package/dist/_virtual/cookies.js +0 -4
- package/dist/_virtual/cookies.js.map +0 -1
- package/dist/_virtual/deployment-id.js +0 -4
- package/dist/_virtual/deployment-id.js.map +0 -1
- package/dist/_virtual/detect-domain-locale.js +0 -4
- package/dist/_virtual/detect-domain-locale.js.map +0 -1
- package/dist/_virtual/detect-domain-locale2.js +0 -4
- package/dist/_virtual/detect-domain-locale2.js.map +0 -1
- package/dist/_virtual/dynamic-rendering-utils.js +0 -4
- package/dist/_virtual/dynamic-rendering-utils.js.map +0 -1
- package/dist/_virtual/dynamic-rendering.js +0 -4
- package/dist/_virtual/dynamic-rendering.js.map +0 -1
- package/dist/_virtual/ensure-leading-slash.js +0 -4
- package/dist/_virtual/ensure-leading-slash.js.map +0 -1
- package/dist/_virtual/error-once.js +0 -4
- package/dist/_virtual/error-once.js.map +0 -1
- package/dist/_virtual/escape-regexp.js +0 -4
- package/dist/_virtual/escape-regexp.js.map +0 -1
- package/dist/_virtual/find-closest-quality.js +0 -4
- package/dist/_virtual/find-closest-quality.js.map +0 -1
- package/dist/_virtual/forbidden.js +0 -4
- package/dist/_virtual/forbidden.js.map +0 -1
- package/dist/_virtual/format-url.js +0 -4
- package/dist/_virtual/format-url.js.map +0 -1
- package/dist/_virtual/get-domain-locale.js +0 -4
- package/dist/_virtual/get-domain-locale.js.map +0 -1
- package/dist/_virtual/get-dynamic-param.js +0 -4
- package/dist/_virtual/get-dynamic-param.js.map +0 -1
- package/dist/_virtual/get-img-props.js +0 -4
- package/dist/_virtual/get-img-props.js.map +0 -1
- package/dist/_virtual/get-segment-param.js +0 -4
- package/dist/_virtual/get-segment-param.js.map +0 -1
- package/dist/_virtual/has-base-path.js +0 -4
- package/dist/_virtual/has-base-path.js.map +0 -1
- package/dist/_virtual/head-manager-context.shared-runtime.js +0 -4
- package/dist/_virtual/head-manager-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/head.js +0 -4
- package/dist/_virtual/head.js.map +0 -1
- package/dist/_virtual/headers.js +0 -4
- package/dist/_virtual/headers.js.map +0 -1
- package/dist/_virtual/hooks-client-context.shared-runtime.js +0 -4
- package/dist/_virtual/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/hooks-server-context.js +0 -4
- package/dist/_virtual/hooks-server-context.js.map +0 -1
- package/dist/_virtual/http-access-fallback.js +0 -4
- package/dist/_virtual/http-access-fallback.js.map +0 -1
- package/dist/_virtual/image-blur-svg.js +0 -4
- package/dist/_virtual/image-blur-svg.js.map +0 -1
- package/dist/_virtual/image-component.js +0 -4
- package/dist/_virtual/image-component.js.map +0 -1
- package/dist/_virtual/image-config-context.shared-runtime.js +0 -4
- package/dist/_virtual/image-config-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/image-config.js +0 -4
- package/dist/_virtual/image-config.js.map +0 -1
- package/dist/_virtual/image-external.js +0 -4
- package/dist/_virtual/image-external.js.map +0 -1
- package/dist/_virtual/image-loader.js +0 -4
- package/dist/_virtual/image-loader.js.map +0 -1
- package/dist/_virtual/image.js +0 -8
- package/dist/_virtual/image.js.map +0 -1
- package/dist/_virtual/index.js +0 -4
- package/dist/_virtual/index.js.map +0 -1
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index2.js.map +0 -1
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index3.js.map +0 -1
- package/dist/_virtual/instant-messages.js +0 -4
- package/dist/_virtual/instant-messages.js.map +0 -1
- package/dist/_virtual/instant-samples.js +0 -4
- package/dist/_virtual/instant-samples.js.map +0 -1
- package/dist/_virtual/instant-samples2.js +0 -4
- package/dist/_virtual/instant-samples2.js.map +0 -1
- package/dist/_virtual/instant-validation-error.js +0 -4
- package/dist/_virtual/instant-validation-error.js.map +0 -1
- package/dist/_virtual/interception-prefix-from-param-type.js +0 -4
- package/dist/_virtual/interception-prefix-from-param-type.js.map +0 -1
- package/dist/_virtual/interception-routes.js +0 -4
- package/dist/_virtual/interception-routes.js.map +0 -1
- package/dist/_virtual/interpolate-as.js +0 -4
- package/dist/_virtual/interpolate-as.js.map +0 -1
- package/dist/_virtual/invariant-error.js +0 -4
- package/dist/_virtual/invariant-error.js.map +0 -1
- package/dist/_virtual/is-dynamic.js +0 -4
- package/dist/_virtual/is-dynamic.js.map +0 -1
- package/dist/_virtual/is-local-url.js +0 -4
- package/dist/_virtual/is-local-url.js.map +0 -1
- package/dist/_virtual/is-next-router-error.js +0 -4
- package/dist/_virtual/is-next-router-error.js.map +0 -1
- package/dist/_virtual/is-postpone.js +0 -4
- package/dist/_virtual/is-postpone.js.map +0 -1
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/jsx-runtime2.js.map +0 -1
- package/dist/_virtual/link.js +0 -8
- package/dist/_virtual/link.js.map +0 -1
- package/dist/_virtual/link2.js +0 -4
- package/dist/_virtual/link2.js.map +0 -1
- package/dist/_virtual/match-local-pattern.js +0 -4
- package/dist/_virtual/match-local-pattern.js.map +0 -1
- package/dist/_virtual/match-remote-pattern.js +0 -4
- package/dist/_virtual/match-remote-pattern.js.map +0 -1
- package/dist/_virtual/navigation-dynamic-rendering.js +0 -4
- package/dist/_virtual/navigation-dynamic-rendering.js.map +0 -1
- package/dist/_virtual/navigation.js +0 -6
- package/dist/_virtual/navigation.js.map +0 -1
- package/dist/_virtual/navigation.react-server.js +0 -4
- package/dist/_virtual/navigation.react-server.js.map +0 -1
- package/dist/_virtual/navigation2.js +0 -4
- package/dist/_virtual/navigation2.js.map +0 -1
- package/dist/_virtual/normalize-locale-path.js +0 -4
- package/dist/_virtual/normalize-locale-path.js.map +0 -1
- package/dist/_virtual/normalize-locale-path2.js +0 -4
- package/dist/_virtual/normalize-locale-path2.js.map +0 -1
- package/dist/_virtual/normalize-trailing-slash.js +0 -4
- package/dist/_virtual/normalize-trailing-slash.js.map +0 -1
- package/dist/_virtual/not-found.js +0 -4
- package/dist/_virtual/not-found.js.map +0 -1
- package/dist/_virtual/omit.js +0 -4
- package/dist/_virtual/omit.js.map +0 -1
- package/dist/_virtual/parse-loader-tree.js +0 -4
- package/dist/_virtual/parse-loader-tree.js.map +0 -1
- package/dist/_virtual/parse-path.js +0 -4
- package/dist/_virtual/parse-path.js.map +0 -1
- package/dist/_virtual/parse-relative-url.js +0 -4
- package/dist/_virtual/parse-relative-url.js.map +0 -1
- package/dist/_virtual/path-has-prefix.js +0 -4
- package/dist/_virtual/path-has-prefix.js.map +0 -1
- package/dist/_virtual/promise-with-resolvers.js +0 -4
- package/dist/_virtual/promise-with-resolvers.js.map +0 -1
- package/dist/_virtual/querystring.js +0 -4
- package/dist/_virtual/querystring.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.js.map +0 -1
- package/dist/_virtual/readonly-url-search-params.js +0 -4
- package/dist/_virtual/readonly-url-search-params.js.map +0 -1
- package/dist/_virtual/redirect-error.js +0 -4
- package/dist/_virtual/redirect-error.js.map +0 -1
- package/dist/_virtual/redirect-status-code.js +0 -4
- package/dist/_virtual/redirect-status-code.js.map +0 -1
- package/dist/_virtual/redirect.js +0 -4
- package/dist/_virtual/redirect.js.map +0 -1
- package/dist/_virtual/reflect-utils.js +0 -4
- package/dist/_virtual/reflect-utils.js.map +0 -1
- package/dist/_virtual/reflect.js +0 -4
- package/dist/_virtual/reflect.js.map +0 -1
- package/dist/_virtual/remove-trailing-slash.js +0 -4
- package/dist/_virtual/remove-trailing-slash.js.map +0 -1
- package/dist/_virtual/request-cookies.js +0 -4
- package/dist/_virtual/request-cookies.js.map +0 -1
- package/dist/_virtual/request-idle-callback.js +0 -4
- package/dist/_virtual/request-idle-callback.js.map +0 -1
- package/dist/_virtual/resolve-href.js +0 -4
- package/dist/_virtual/resolve-href.js.map +0 -1
- package/dist/_virtual/resolve-param-value.js +0 -4
- package/dist/_virtual/resolve-param-value.js.map +0 -1
- package/dist/_virtual/route-match-utils.js +0 -4
- package/dist/_virtual/route-match-utils.js.map +0 -1
- package/dist/_virtual/route-matcher.js +0 -4
- package/dist/_virtual/route-matcher.js.map +0 -1
- package/dist/_virtual/route-pattern-normalizer.js +0 -4
- package/dist/_virtual/route-pattern-normalizer.js.map +0 -1
- package/dist/_virtual/route-regex.js +0 -4
- package/dist/_virtual/route-regex.js.map +0 -1
- package/dist/_virtual/router-context.shared-runtime.js +0 -4
- package/dist/_virtual/router-context.shared-runtime.js.map +0 -1
- package/dist/_virtual/runtime-reacts.external.js +0 -4
- package/dist/_virtual/runtime-reacts.external.js.map +0 -1
- package/dist/_virtual/scheduler.js +0 -4
- package/dist/_virtual/scheduler.js.map +0 -1
- package/dist/_virtual/segment.js +0 -4
- package/dist/_virtual/segment.js.map +0 -1
- package/dist/_virtual/server-async-storage.js +0 -4
- package/dist/_virtual/server-async-storage.js.map +0 -1
- package/dist/_virtual/server-inserted-html.shared-runtime.js +0 -4
- package/dist/_virtual/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/_virtual/side-effect.js +0 -4
- package/dist/_virtual/side-effect.js.map +0 -1
- package/dist/_virtual/sorted-routes.js +0 -4
- package/dist/_virtual/sorted-routes.js.map +0 -1
- package/dist/_virtual/staged-rendering.js +0 -4
- package/dist/_virtual/staged-rendering.js.map +0 -1
- package/dist/_virtual/static-generation-bailout.js +0 -4
- package/dist/_virtual/static-generation-bailout.js.map +0 -1
- package/dist/_virtual/unauthorized.js +0 -4
- package/dist/_virtual/unauthorized.js.map +0 -1
- package/dist/_virtual/unrecognized-action-error.js +0 -4
- package/dist/_virtual/unrecognized-action-error.js.map +0 -1
- package/dist/_virtual/unstable-rethrow.js +0 -4
- package/dist/_virtual/unstable-rethrow.js.map +0 -1
- package/dist/_virtual/use-intersection.js +0 -4
- package/dist/_virtual/use-intersection.js.map +0 -1
- package/dist/_virtual/use-merged-ref.js +0 -4
- package/dist/_virtual/use-merged-ref.js.map +0 -1
- package/dist/_virtual/utils.js +0 -4
- package/dist/_virtual/utils.js.map +0 -1
- package/dist/_virtual/warn-once.js +0 -4
- package/dist/_virtual/warn-once.js.map +0 -1
- package/dist/_virtual/work-async-storage-instance.js +0 -4
- package/dist/_virtual/work-async-storage-instance.js.map +0 -1
- package/dist/_virtual/work-async-storage.external.js +0 -4
- package/dist/_virtual/work-async-storage.external.js.map +0 -1
- package/dist/_virtual/work-unit-async-storage-instance.js +0 -4
- package/dist/_virtual/work-unit-async-storage-instance.js.map +0 -1
- package/dist/_virtual/work-unit-async-storage.external.js +0 -4
- package/dist/_virtual/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js +0 -17
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.js.map +0 -1
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js +0 -49
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.js.map +0 -1
- package/dist/node_modules/next/dist/client/add-base-path.js +0 -39
- package/dist/node_modules/next/dist/client/add-base-path.js.map +0 -1
- package/dist/node_modules/next/dist/client/add-locale.js +0 -40
- package/dist/node_modules/next/dist/client/add-locale.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/forbidden.js +0 -62
- package/dist/node_modules/next/dist/client/components/forbidden.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -51
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +0 -78
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/instant-samples.js +0 -107
- package/dist/node_modules/next/dist/client/components/instant-samples.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +0 -38
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +0 -41
- package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.js +0 -250
- package/dist/node_modules/next/dist/client/components/navigation.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +0 -83
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/not-found.js +0 -56
- package/dist/node_modules/next/dist/client/components/not-found.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +0 -61
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-error.js +0 -53
- package/dist/node_modules/next/dist/client/components/redirect-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +0 -37
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/redirect.js +0 -99
- package/dist/node_modules/next/dist/client/components/redirect.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/server-async-storage.js +0 -48
- package/dist/node_modules/next/dist/client/components/server-async-storage.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -51
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unauthorized.js +0 -63
- package/dist/node_modules/next/dist/client/components/unauthorized.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +0 -48
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js.map +0 -1
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +0 -51
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js.map +0 -1
- package/dist/node_modules/next/dist/client/detect-domain-locale.js +0 -37
- package/dist/node_modules/next/dist/client/detect-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/client/get-domain-locale.js +0 -52
- package/dist/node_modules/next/dist/client/get-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/client/has-base-path.js +0 -37
- package/dist/node_modules/next/dist/client/has-base-path.js.map +0 -1
- package/dist/node_modules/next/dist/client/image-component.js +0 -351
- package/dist/node_modules/next/dist/client/image-component.js.map +0 -1
- package/dist/node_modules/next/dist/client/link.js +0 -471
- package/dist/node_modules/next/dist/client/link.js.map +0 -1
- package/dist/node_modules/next/dist/client/normalize-locale-path.js +0 -41
- package/dist/node_modules/next/dist/client/normalize-locale-path.js.map +0 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +0 -52
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js.map +0 -1
- package/dist/node_modules/next/dist/client/request-idle-callback.js +0 -53
- package/dist/node_modules/next/dist/client/request-idle-callback.js.map +0 -1
- package/dist/node_modules/next/dist/client/resolve-href.js +0 -129
- package/dist/node_modules/next/dist/client/resolve-href.js.map +0 -1
- package/dist/node_modules/next/dist/client/use-intersection.js +0 -129
- package/dist/node_modules/next/dist/client/use-intersection.js.map +0 -1
- package/dist/node_modules/next/dist/client/use-merged-ref.js +0 -83
- package/dist/node_modules/next/dist/client/use-merged-ref.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -341
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +0 -13
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js.map +0 -1
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +0 -13
- package/dist/node_modules/next/dist/compiled/picomatch/index.js.map +0 -1
- package/dist/node_modules/next/dist/lib/constants.js +0 -370
- package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -43
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +0 -112
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js.map +0 -1
- package/dist/node_modules/next/dist/lib/scheduler.js +0 -71
- package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +0 -27
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -84
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js +0 -177
- package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -1168
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -39
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +0 -47
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +0 -427
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +0 -42
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -331
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -27
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -28
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -211
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -269
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +0 -29
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js.map +0 -1
- package/dist/node_modules/next/dist/server/runtime-reacts.external.js +0 -53
- package/dist/node_modules/next/dist/server/runtime-reacts.external.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +0 -303
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +0 -43
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +0 -233
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js.map +0 -1
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -38
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +0 -58
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +0 -70
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js +0 -32
- package/dist/node_modules/next/dist/shared/lib/find-closest-quality.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js +0 -614
- package/dist/node_modules/next/dist/shared/lib/get-img-props.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/head.js +0 -178
- package/dist/node_modules/next/dist/shared/lib/head.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -38
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -67
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-config.js +0 -86
- package/dist/node_modules/next/dist/shared/lib/image-config.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-external.js +0 -60
- package/dist/node_modules/next/dist/shared/lib/image-external.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/image-loader.js +0 -135
- package/dist/node_modules/next/dist/shared/lib/image-loader.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/instant-messages.js +0 -52
- package/dist/node_modules/next/dist/shared/lib/instant-messages.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -36
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -45
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +0 -56
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +0 -73
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -39
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +0 -167
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -43
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -72
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -100
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +0 -184
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +0 -91
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -40
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -116
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js +0 -68
- package/dist/node_modules/next/dist/shared/lib/router/utils/interpolate-as.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -40
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js +0 -41
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-local-url.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/omit.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +0 -44
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -48
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +0 -58
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -34
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +0 -87
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -37
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +0 -129
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +0 -124
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +0 -60
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +0 -269
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -253
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -33
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/segment.js +0 -104
- package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +0 -46
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +0 -77
- package/dist/node_modules/next/dist/shared/lib/side-effect.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/utils/error-once.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js +0 -72
- package/dist/node_modules/next/dist/shared/lib/utils/reflect-utils.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -35
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js.map +0 -1
- package/dist/node_modules/next/dist/shared/lib/utils.js +0 -210
- package/dist/node_modules/next/dist/shared/lib/utils.js.map +0 -1
- package/dist/node_modules/next/image.js +0 -14
- package/dist/node_modules/next/image.js.map +0 -1
- package/dist/node_modules/next/link.js +0 -14
- package/dist/node_modules/next/link.js.map +0 -1
- package/dist/node_modules/next/navigation.js +0 -14
- package/dist/node_modules/next/navigation.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -364
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -45
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -20
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","sources":["../../../src/components/ui/dialog.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@/utils';\n\nfunction Dialog({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\nfunction DialogTrigger({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\nfunction DialogPortal({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\nfunction DialogClose({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\nfunction DialogOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn('flex flex-col gap-2 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"dialog-footer\"\n className={cn(\n 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn('text-lg leading-none font-semibold', className)}\n {...props}\n />\n );\n}\n\nfunction DialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction DialogBottomSheet({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom fixed bottom-0 left-0 right-0 z-50 w-full rounded-t-xl border-t shadow-lg duration-300',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\nexport {\n Dialog,\n DialogBottomSheet,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;AAMA,SAAS,MAAM,CAAC,EACd,GAAG,KAAK,EAC0C,EAAA;IAClD,OAAOA,
|
|
1
|
+
{"version":3,"file":"dialog.js","sources":["../../../src/components/ui/dialog.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as DialogPrimitive from '@radix-ui/react-dialog';\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@/utils';\n\nfunction Dialog({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Root>) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />;\n}\n\nfunction DialogTrigger({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Trigger>) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />;\n}\n\nfunction DialogPortal({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Portal>) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />;\n}\n\nfunction DialogClose({\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Close>) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />;\n}\n\nfunction DialogOverlay({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Overlay>) {\n return (\n <DialogPrimitive.Overlay\n data-slot=\"dialog-overlay\"\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn('flex flex-col gap-2 text-center sm:text-left', className)}\n {...props}\n />\n );\n}\n\nfunction DialogFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"dialog-footer\"\n className={cn(\n 'flex flex-col-reverse gap-2 sm:flex-row sm:justify-end',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DialogTitle({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Title>) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn('text-lg leading-none font-semibold', className)}\n {...props}\n />\n );\n}\n\nfunction DialogDescription({\n className,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Description>) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n );\n}\n\nfunction DialogBottomSheet({\n className,\n children,\n showCloseButton = true,\n ...props\n}: React.ComponentProps<typeof DialogPrimitive.Content> & {\n showCloseButton?: boolean;\n}) {\n return (\n <DialogPortal data-slot=\"dialog-portal\">\n <DialogOverlay />\n <DialogPrimitive.Content\n data-slot=\"dialog-content\"\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom fixed bottom-0 left-0 right-0 z-50 w-full rounded-t-xl border-t shadow-lg duration-300',\n className,\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n className=\"ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\"\n >\n <XIcon />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Content>\n </DialogPortal>\n );\n}\n\nexport {\n Dialog,\n DialogBottomSheet,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;AAMA,SAAS,MAAM,CAAC,EACd,GAAG,KAAK,EAC0C,EAAA;IAClD,OAAOA,GAAA,CAAC,eAAe,CAAC,IAAI,iBAAW,QAAQ,EAAA,GAAK,KAAK,EAAA,CAAI;AAC/D;AAEA,SAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EAC6C,EAAA;IACrD,OAAOA,GAAA,CAAC,eAAe,CAAC,OAAO,iBAAW,gBAAgB,EAAA,GAAK,KAAK,EAAA,CAAI;AAC1E;AAEA,SAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EAC4C,EAAA;IACpD,OAAOA,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A,CAAC,eAAe,CAAC,KAAK,EAAA,EAAA,WAAA,EACV,cAAc,EACxB,SAAS,EAAC,+RAA+R,EAAA,QAAA,EAAA,CAEzSD,GAAA,CAAC,KAAK,EAAA,EAAA,CAAG,EACTA,GAAA,CAAA,MAAA,EAAA,EAAM,SAAS,EAAC,SAAS,EAAA,QAAA,EAAA,OAAA,EAAA,CAAa,CAAA,EAAA,CAChB,CACzB,CAAA,EAAA,CACuB,CAAA,EAAA,CACb;AAEnB;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
3
|
import { CheckIcon, CircleIcon, ChevronRightIcon } from 'lucide-react';
|
|
4
4
|
import { cn } from '../../utils.js';
|
|
5
5
|
|
|
6
6
|
function DropdownMenu({ ...props }) {
|
|
7
|
-
return
|
|
7
|
+
return jsx(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
|
|
8
8
|
}
|
|
9
9
|
function DropdownMenuPortal({ ...props }) {
|
|
10
|
-
return (
|
|
10
|
+
return (jsx(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props }));
|
|
11
11
|
}
|
|
12
12
|
function DropdownMenuTrigger({ ...props }) {
|
|
13
|
-
return (
|
|
13
|
+
return (jsx(DropdownMenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props }));
|
|
14
14
|
}
|
|
15
15
|
function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
|
|
16
|
-
return (
|
|
16
|
+
return (jsx(DropdownMenuPrimitive.Portal, { children: jsx(DropdownMenuPrimitive.Content, { "data-slot": "dropdown-menu-content", sideOffset: sideOffset, className: cn(
|
|
17
17
|
// z-[1100] (not the default z-50) — the shared modal system's
|
|
18
18
|
// backdrop is z-[1000] (app/providers/modal-provider.tsx), and
|
|
19
19
|
// this portals to document.body as a sibling of it, so it needs
|
|
@@ -22,37 +22,37 @@ function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
|
|
|
22
22
|
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1100] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md', className), ...props }) }));
|
|
23
23
|
}
|
|
24
24
|
function DropdownMenuGroup({ ...props }) {
|
|
25
|
-
return (
|
|
25
|
+
return (jsx(DropdownMenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props }));
|
|
26
26
|
}
|
|
27
27
|
function DropdownMenuItem({ className, inset, variant = 'default', ...props }) {
|
|
28
|
-
return (
|
|
28
|
+
return (jsx(DropdownMenuPrimitive.Item, { "data-slot": "dropdown-menu-item", "data-inset": inset, "data-variant": variant, className: cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), ...props }));
|
|
29
29
|
}
|
|
30
30
|
function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
|
|
31
|
-
return (
|
|
31
|
+
return (jsxs(DropdownMenuPrimitive.CheckboxItem, { "data-slot": "dropdown-menu-checkbox-item", className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), checked: checked, ...props, children: [jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: jsx(DropdownMenuPrimitive.ItemIndicator, { children: jsx(CheckIcon, { className: "size-4" }) }) }), children] }));
|
|
32
32
|
}
|
|
33
33
|
function DropdownMenuRadioGroup({ ...props }) {
|
|
34
|
-
return (
|
|
34
|
+
return (jsx(DropdownMenuPrimitive.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props }));
|
|
35
35
|
}
|
|
36
36
|
function DropdownMenuRadioItem({ className, children, ...props }) {
|
|
37
|
-
return (
|
|
37
|
+
return (jsxs(DropdownMenuPrimitive.RadioItem, { "data-slot": "dropdown-menu-radio-item", className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), ...props, children: [jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: jsx(DropdownMenuPrimitive.ItemIndicator, { children: jsx(CircleIcon, { className: "size-2 fill-current" }) }) }), children] }));
|
|
38
38
|
}
|
|
39
39
|
function DropdownMenuLabel({ className, inset, ...props }) {
|
|
40
|
-
return (
|
|
40
|
+
return (jsx(DropdownMenuPrimitive.Label, { "data-slot": "dropdown-menu-label", "data-inset": inset, className: cn('px-2 py-1.5 text-sm font-medium data-[inset]:pl-8', className), ...props }));
|
|
41
41
|
}
|
|
42
42
|
function DropdownMenuSeparator({ className, ...props }) {
|
|
43
|
-
return (
|
|
43
|
+
return (jsx(DropdownMenuPrimitive.Separator, { "data-slot": "dropdown-menu-separator", className: cn('bg-border -mx-1 my-1 h-px', className), ...props }));
|
|
44
44
|
}
|
|
45
45
|
function DropdownMenuShortcut({ className, ...props }) {
|
|
46
|
-
return (
|
|
46
|
+
return (jsx("span", { "data-slot": "dropdown-menu-shortcut", className: cn('text-muted-foreground ml-auto text-xs tracking-widest', className), ...props }));
|
|
47
47
|
}
|
|
48
48
|
function DropdownMenuSub({ ...props }) {
|
|
49
|
-
return
|
|
49
|
+
return jsx(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
|
|
50
50
|
}
|
|
51
51
|
function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
|
|
52
|
-
return (
|
|
52
|
+
return (jsxs(DropdownMenuPrimitive.SubTrigger, { "data-slot": "dropdown-menu-sub-trigger", "data-inset": inset, className: cn('focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8', className), ...props, children: [children, jsx(ChevronRightIcon, { className: "ml-auto size-4" })] }));
|
|
53
53
|
}
|
|
54
54
|
function DropdownMenuSubContent({ className, ...props }) {
|
|
55
|
-
return (
|
|
55
|
+
return (jsx(DropdownMenuPrimitive.SubContent, { "data-slot": "dropdown-menu-sub-content", className: cn(
|
|
56
56
|
// z-[1100] — see the matching note on DropdownMenuContent above.
|
|
57
57
|
'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1100] min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg', className), ...props }));
|
|
58
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-menu.js","sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { cn } from '@/utils';\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return (\n <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n );\n}\n\nfunction DropdownMenuTrigger({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n return (\n <DropdownMenuPrimitive.Trigger\n data-slot=\"dropdown-menu-trigger\"\n {...props}\n />\n );\n}\n\nfunction DropdownMenuContent({\n className,\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n className={cn(\n // z-[1100] (not the default z-50) — the shared modal system's\n // backdrop is z-[1000] (app/providers/modal-provider.tsx), and\n // this portals to document.body as a sibling of it, so it needs\n // to clear that to render above a modal. Matches the same fix\n // already applied to SelectContent (components/ui/select.tsx).\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1100] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\nfunction DropdownMenuGroup({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n return (\n <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />\n );\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <DropdownMenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction DropdownMenuRadioGroup({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n return (\n <DropdownMenuPrimitive.RadioGroup\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n );\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {\n return (\n <DropdownMenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.Label\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n 'px-2 py-1.5 text-sm font-medium data-[inset]:pl-8',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n return (\n <DropdownMenuPrimitive.Separator\n data-slot=\"dropdown-menu-separator\"\n className={cn('bg-border -mx-1 my-1 h-px', className)}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<'span'>) {\n return (\n <span\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n 'text-muted-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.SubTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\nfunction DropdownMenuSubContent({\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n return (\n <DropdownMenuPrimitive.SubContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n // z-[1100] — see the matching note on DropdownMenuContent above.\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1100] min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;AAMA,SAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACgD,EAAA;IACxD,OAAOA,qBAAA,CAAC,qBAAqB,CAAC,IAAI,iBAAW,eAAe,EAAA,GAAK,KAAK,EAAA,CAAI;AAC5E;AAEA,SAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACkD,EAAA;IAC1D,QACEA,qBAAA,CAAC,qBAAqB,CAAC,MAAM,EAAA,EAAA,WAAA,EAAW,sBAAsB,EAAA,GAAK,KAAK,EAAA,CAAI;AAEhF;AAEA,SAAS,mBAAmB,CAAC,EAC3B,GAAG,KAAK,EACmD,EAAA;IAC3D,QACEA,qBAAA,CAAC,qBAAqB,CAAC,OAAO,EAAA,EAAA,WAAA,EAClB,uBAAuB,EAAA,GAC7B,KAAK,EAAA,CACT;AAEN;AAEA,SAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,UAAU,GAAG,CAAC,EACd,GAAG,KAAK,EACmD,EAAA;AAC3D,IAAA,QACEA,qBAAA,CAAC,qBAAqB,CAAC,MAAM,EAAA,EAAA,QAAA,EAC3BA,sBAAC,qBAAqB,CAAC,OAAO,EAAA,EAAA,WAAA,EAClB,uBAAuB,EACjC,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,EAAE;;;;;;YAMX,4jBAA4jB,EAC5jB,SAAS,CACV,EAAA,GACG,KAAK,EAAA,CACT,EAAA,CAC2B;AAEnC;AAEA,SAAS,iBAAiB,CAAC,EACzB,GAAG,KAAK,EACiD,EAAA;IACzD,QACEA,qBAAA,CAAC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G,KAAK,EAGT,EAAA;AACC,IAAA,QACEC,sBAAA,CAAC,qBAAqB,CAAC,UAAU,EAAA,EAAA,WAAA,EACrB,2BAA2B,EAAA,YAAA,EACzB,KAAK,EACjB,SAAS,EAAE,EAAE,CACX,gOAAgO,EAChO,SAAS,CACV,EAAA,GACG,KAAK,EAAA,QAAA,EAAA,CAER,QAAQ,EACTD,qBAAA,CAAC,gBAAgB,EAAA,EAAC,SAAS,EAAC,gBAAgB,EAAA,CAAG,CAAA,EAAA,CACd;AAEvC;AAEA,SAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACsD,EAAA;IAC9D,QACEA,qBAAA,CAAC,qBAAqB,CAAC,UAAU,iBACrB,2BAA2B,EACrC,SAAS,EAAE,EAAE;;AAEX,QAAA,mfAAmf,EACnf,SAAS,CACV,KACG,KAAK,EAAA,CACT;AAEN;;;;"}
|
|
1
|
+
{"version":3,"file":"dropdown-menu.js","sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { cn } from '@/utils';\n\nfunction DropdownMenu({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\nfunction DropdownMenuPortal({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return (\n <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />\n );\n}\n\nfunction DropdownMenuTrigger({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n return (\n <DropdownMenuPrimitive.Trigger\n data-slot=\"dropdown-menu-trigger\"\n {...props}\n />\n );\n}\n\nfunction DropdownMenuContent({\n className,\n sideOffset = 4,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n className={cn(\n // z-[1100] (not the default z-50) — the shared modal system's\n // backdrop is z-[1000] (app/providers/modal-provider.tsx), and\n // this portals to document.body as a sibling of it, so it needs\n // to clear that to render above a modal. Matches the same fix\n // already applied to SelectContent (components/ui/select.tsx).\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1100] max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',\n className,\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\nfunction DropdownMenuGroup({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n return (\n <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />\n );\n}\n\nfunction DropdownMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <DropdownMenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuCheckboxItem({\n className,\n children,\n checked,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction DropdownMenuRadioGroup({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n return (\n <DropdownMenuPrimitive.RadioGroup\n data-slot=\"dropdown-menu-radio-group\"\n {...props}\n />\n );\n}\n\nfunction DropdownMenuRadioItem({\n className,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {\n return (\n <DropdownMenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className,\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.Label\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn(\n 'px-2 py-1.5 text-sm font-medium data-[inset]:pl-8',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSeparator({\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n return (\n <DropdownMenuPrimitive.Separator\n data-slot=\"dropdown-menu-separator\"\n className={cn('bg-border -mx-1 my-1 h-px', className)}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuShortcut({\n className,\n ...props\n}: React.ComponentProps<'span'>) {\n return (\n <span\n data-slot=\"dropdown-menu-shortcut\"\n className={cn(\n 'text-muted-foreground ml-auto text-xs tracking-widest',\n className,\n )}\n {...props}\n />\n );\n}\n\nfunction DropdownMenuSub({\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.SubTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n 'focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8',\n className,\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\nfunction DropdownMenuSubContent({\n className,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n return (\n <DropdownMenuPrimitive.SubContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n // z-[1100] — see the matching note on DropdownMenuContent above.\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-[1100] min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport {\n DropdownMenu,\n DropdownMenuPortal,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuLabel,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubTrigger,\n DropdownMenuSubContent,\n};\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;AAMA,SAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EACgD,EAAA;IACxD,OAAOA,GAAA,CAAC,qBAAqB,CAAC,IAAI,iBAAW,eAAe,EAAA,GAAK,KAAK,EAAA,CAAI;AAC5E;AAEA,SAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACkD,EAAA;IAC1D,QACEA,GAAA,CAAC,qBAAqB,CAAC,MAAM,EAAA,EAAA,WAAA,EAAW,sBAAsB,EAAA,GAAK,KAAK,EAAA,CAAI;AAEhF;AAEA,SAAS,mBAAmB,CAAC,EAC3B,GAAG,KAAK,EACmD,EAAA;IAC3D,QACEA,GAAA,CAAC,q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EAAE,CAAC,2BAA2B,EAAE,SAAS,CAAC,KACjD,KAAK,EAAA,CACT;AAEN;AAEA,SAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,GAAG,KAAK,EACqB,EAAA;AAC7B,IAAA,QACEA,GAAA,CAAA,MAAA,EAAA,EAAA,WAAA,EACY,wBAAwB,EAClC,SAAS,EAAE,EAAE,CACX,uDAAuD,EACvD,SAAS,CACV,EAAA,GACG,KAAK,EAAA,CACT;AAEN;AAEA,SAAS,eAAe,CAAC,EACvB,GAAG,KAAK,EAC+C,EAAA;IACvD,OAAOA,GAAA,CAAC,qBAAqB,CAAC,GAAG,iBAAW,mBAAmB,EAAA,GAAK,KAAK,EAAA,CAAI;AAC/E;AAEA,SAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EAGT,EAAA;AACC,IAAA,QACEC,IAAA,CAAC,qBAAqB,CAAC,UAAU,EAAA,EAAA,WAAA,EACrB,2BAA2B,EAAA,YAAA,EACzB,KAAK,EACjB,SAAS,EAAE,EAAE,CACX,gOAAgO,EAChO,SAAS,CACV,EAAA,GACG,KAAK,EAAA,QAAA,EAAA,CAER,QAAQ,EACTD,GAAA,CAAC,gBAAgB,EAAA,EAAC,SAAS,EAAC,gBAAgB,EAAA,CAAG,CAAA,EAAA,CACd;AAEvC;AAEA,SAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACsD,EAAA;IAC9D,QACEA,GAAA,CAAC,qBAAqB,CAAC,UAAU,iBACrB,2BAA2B,EACrC,SAAS,EAAE,EAAE;;AAEX,QAAA,mfAAmf,EACnf,SAAS,CACV,KACG,KAAK,EAAA,CACT;AAEN;;;;"}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { CircleCheck, XCircle, Wifi, Globe, Users2, Briefcase, Clock, GraduationCap, Clipboard, PhilippinePeso } from 'lucide-react';
|
|
3
3
|
|
|
4
4
|
const BooleanCheckIcon = ({ checked }) => {
|
|
5
5
|
if (checked)
|
|
6
|
-
return
|
|
6
|
+
return jsx(CircleCheck, { className: "w-[1.1em] h-[1.1em] mr-1" });
|
|
7
7
|
else
|
|
8
|
-
return
|
|
8
|
+
return jsx(XCircle, { className: "w-[1.1em] h-[1.1em] mr-1" });
|
|
9
9
|
};
|
|
10
10
|
const JobModeIcon = ({ mode }) => {
|
|
11
11
|
switch (mode) {
|
|
12
12
|
case 0: // On site
|
|
13
|
-
return
|
|
13
|
+
return jsx(Users2, { className: "w-3 h-3 mr-1" });
|
|
14
14
|
case 1: // Hybrid
|
|
15
|
-
return
|
|
15
|
+
return jsx(Globe, { className: "w-3 h-3 mr-1" });
|
|
16
16
|
case 2: // Remote
|
|
17
|
-
return
|
|
17
|
+
return jsx(Wifi, { className: "w-3 h-3 mr-1" });
|
|
18
18
|
}
|
|
19
19
|
// Not specified
|
|
20
|
-
return
|
|
20
|
+
return jsx(Briefcase, { className: "w-3 h-3 mr-1" });
|
|
21
21
|
};
|
|
22
22
|
const JobTypeIcon = ({ type }) => {
|
|
23
23
|
switch (type) {
|
|
24
24
|
case 0:
|
|
25
|
-
return
|
|
25
|
+
return jsx(GraduationCap, { className: "w-3 h-3 mr-1" });
|
|
26
26
|
case 1:
|
|
27
|
-
return
|
|
27
|
+
return jsx(Clock, { className: "w-3 h-3 mr-1" });
|
|
28
28
|
case 2:
|
|
29
|
-
return
|
|
29
|
+
return jsx(Briefcase, { className: "w-3 h-3 mr-1" });
|
|
30
30
|
}
|
|
31
31
|
// Not specified
|
|
32
|
-
return
|
|
32
|
+
return jsx(Clipboard, { className: "w-3 h-3 mr-1" });
|
|
33
33
|
};
|
|
34
34
|
const SalaryIcon = () => {
|
|
35
|
-
return
|
|
35
|
+
return jsx(PhilippinePeso, { className: "w-3 h-3 mr-1" });
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
export { BooleanCheckIcon, JobModeIcon, JobTypeIcon, SalaryIcon };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sources":["../../../src/components/ui/icons.tsx"],"sourcesContent":["import {\n CircleCheck,\n XCircle,\n Clipboard,\n Briefcase,\n Users2,\n Globe,\n Wifi,\n GraduationCap,\n Clock,\n PhilippinePeso,\n} from 'lucide-react';\n\nexport const BooleanCheckIcon = ({ checked }: { checked?: boolean | null }) => {\n if (checked)\n return <CircleCheck className=\"w-[1.1em] h-[1.1em] mr-1\"></CircleCheck>;\n else return <XCircle className=\"w-[1.1em] h-[1.1em] mr-1\"></XCircle>;\n};\n\nexport const JobModeIcon = ({ mode }: { mode: number | null | undefined }) => {\n switch (mode) {\n case 0: // On site\n return <Users2 className=\"w-3 h-3 mr-1\" />;\n case 1: // Hybrid\n return <Globe className=\"w-3 h-3 mr-1\" />;\n case 2: // Remote\n return <Wifi className=\"w-3 h-3 mr-1\" />;\n }\n\n // Not specified\n return <Briefcase className=\"w-3 h-3 mr-1\" />;\n};\n\nexport const JobTypeIcon = ({ type }: { type: number | null | undefined }) => {\n switch (type) {\n case 0:\n return <GraduationCap className=\"w-3 h-3 mr-1\" />;\n case 1:\n return <Clock className=\"w-3 h-3 mr-1\" />;\n case 2:\n return <Briefcase className=\"w-3 h-3 mr-1\" />;\n }\n\n // Not specified\n return <Clipboard className=\"w-3 h-3 mr-1\" />;\n};\n\nexport const SalaryIcon = () => {\n return <PhilippinePeso className=\"w-3 h-3 mr-1\" />;\n};\n"],"names":["_jsx"],"mappings":";;;MAaa,gBAAgB,GAAG,CAAC,EAAE,OAAO,EAAgC,KAAI;AAC5E,IAAA,IAAI,OAAO;AACT,QAAA,OAAOA,
|
|
1
|
+
{"version":3,"file":"icons.js","sources":["../../../src/components/ui/icons.tsx"],"sourcesContent":["import {\n CircleCheck,\n XCircle,\n Clipboard,\n Briefcase,\n Users2,\n Globe,\n Wifi,\n GraduationCap,\n Clock,\n PhilippinePeso,\n} from 'lucide-react';\n\nexport const BooleanCheckIcon = ({ checked }: { checked?: boolean | null }) => {\n if (checked)\n return <CircleCheck className=\"w-[1.1em] h-[1.1em] mr-1\"></CircleCheck>;\n else return <XCircle className=\"w-[1.1em] h-[1.1em] mr-1\"></XCircle>;\n};\n\nexport const JobModeIcon = ({ mode }: { mode: number | null | undefined }) => {\n switch (mode) {\n case 0: // On site\n return <Users2 className=\"w-3 h-3 mr-1\" />;\n case 1: // Hybrid\n return <Globe className=\"w-3 h-3 mr-1\" />;\n case 2: // Remote\n return <Wifi className=\"w-3 h-3 mr-1\" />;\n }\n\n // Not specified\n return <Briefcase className=\"w-3 h-3 mr-1\" />;\n};\n\nexport const JobTypeIcon = ({ type }: { type: number | null | undefined }) => {\n switch (type) {\n case 0:\n return <GraduationCap className=\"w-3 h-3 mr-1\" />;\n case 1:\n return <Clock className=\"w-3 h-3 mr-1\" />;\n case 2:\n return <Briefcase className=\"w-3 h-3 mr-1\" />;\n }\n\n // Not specified\n return <Clipboard className=\"w-3 h-3 mr-1\" />;\n};\n\nexport const SalaryIcon = () => {\n return <PhilippinePeso className=\"w-3 h-3 mr-1\" />;\n};\n"],"names":["_jsx"],"mappings":";;;MAaa,gBAAgB,GAAG,CAAC,EAAE,OAAO,EAAgC,KAAI;AAC5E,IAAA,IAAI,OAAO;AACT,QAAA,OAAOA,IAAC,WAAW,EAAA,EAAC,SAAS,EAAC,0BAA0B,GAAe;;AACpE,QAAA,OAAOA,IAAC,OAAO,EAAA,EAAC,SAAS,EAAC,0BAA0B,GAAW;AACtE;MAEa,WAAW,GAAG,CAAC,EAAE,IAAI,EAAuC,KAAI;IAC3E,QAAQ,IAAI;QACV,KAAK,CAAC;AACJ,YAAA,OAAOA,IAAC,MAAM,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;QAC5C,KAAK,CAAC;AACJ,YAAA,OAAOA,IAAC,KAAK,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;QAC3C,KAAK,CAAC;AACJ,YAAA,OAAOA,IAAC,IAAI,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;;;AAI5C,IAAA,OAAOA,IAAC,SAAS,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;AAC/C;MAEa,WAAW,GAAG,CAAC,EAAE,IAAI,EAAuC,KAAI;IAC3E,QAAQ,IAAI;AACV,QAAA,KAAK,CAAC;AACJ,YAAA,OAAOA,IAAC,aAAa,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;AACnD,QAAA,KAAK,CAAC;AACJ,YAAA,OAAOA,IAAC,KAAK,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;AAC3C,QAAA,KAAK,CAAC;AACJ,YAAA,OAAOA,IAAC,SAAS,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;;;AAIjD,IAAA,OAAOA,IAAC,SAAS,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;AAC/C;AAEO,MAAM,UAAU,GAAG,MAAK;AAC7B,IAAA,OAAOA,IAAC,cAAc,EAAA,EAAC,SAAS,EAAC,cAAc,GAAG;AACpD;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { EyeOff, Eye } from 'lucide-react';
|
|
4
4
|
import { cn } from '../../utils.js';
|
|
@@ -7,9 +7,9 @@ const Input = React.forwardRef(({ className, type, disabled, ...props }, ref) =>
|
|
|
7
7
|
const [passwordVisible, setPasswordVisible] = React.useState(false);
|
|
8
8
|
if (type === 'password') {
|
|
9
9
|
const Icon = passwordVisible ? EyeOff : Eye;
|
|
10
|
-
return (
|
|
10
|
+
return (jsxs("div", { className: "relative", children: [jsx("input", { type: passwordVisible ? 'text' : 'password', className: cn('bg-background pointer-events-auto relative z-10 box-border flex h-8 min-h-8 max-h-8 w-full rounded-[0.33em] border border-gray-200 px-[0.75em] py-0 pr-10 text-base ring-0 focus:ring-transparent sm:text-sm', 'file:text-foreground placeholder:text-muted-foreground/40 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50', className), ref: ref, disabled: disabled, ...props }), jsx("button", { type: "button", className: "text-muted-foreground hover:text-foreground absolute inset-y-0 right-0 z-20 flex w-10 items-center justify-center disabled:cursor-not-allowed disabled:opacity-50", onClick: () => setPasswordVisible((current) => !current), disabled: disabled, "aria-label": passwordVisible ? 'Hide password' : 'Show password', "aria-pressed": passwordVisible, children: jsx(Icon, { className: "h-4 w-4", "aria-hidden": "true" }) })] }));
|
|
11
11
|
}
|
|
12
|
-
return (
|
|
12
|
+
return (jsx("input", { type: type, className: cn('bg-background pointer-events-auto relative z-10 box-border flex h-8 min-h-8 max-h-8 w-full rounded-[0.33em] border border-gray-200 px-[0.75em] py-0 text-base ring-0 focus:ring-transparent sm:text-sm', 'file:text-foreground placeholder:text-muted-foreground/40 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50', className), ref: ref, disabled: disabled, ...props }));
|
|
13
13
|
});
|
|
14
14
|
Input.displayName = 'Input';
|
|
15
15
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.js","sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Eye, EyeOff } from 'lucide-react';\n\nimport { cn } from '@/utils';\n\nconst Input = React.forwardRef<HTMLInputElement, React.ComponentProps<'input'>>(\n ({ className, type, disabled, ...props }, ref) => {\n const [passwordVisible, setPasswordVisible] = React.useState(false);\n\n if (type === 'password') {\n const Icon = passwordVisible ? EyeOff : Eye;\n\n return (\n <div className=\"relative\">\n <input\n type={passwordVisible ? 'text' : 'password'}\n className={cn(\n 'bg-background pointer-events-auto relative z-10 box-border flex h-8 min-h-8 max-h-8 w-full rounded-[0.33em] border border-gray-200 px-[0.75em] py-0 pr-10 text-base ring-0 focus:ring-transparent sm:text-sm',\n 'file:text-foreground placeholder:text-muted-foreground/40 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n ref={ref}\n disabled={disabled}\n {...props}\n />\n <button\n type=\"button\"\n className=\"text-muted-foreground hover:text-foreground absolute inset-y-0 right-0 z-20 flex w-10 items-center justify-center disabled:cursor-not-allowed disabled:opacity-50\"\n onClick={() => setPasswordVisible((current) => !current)}\n disabled={disabled}\n aria-label={passwordVisible ? 'Hide password' : 'Show password'}\n aria-pressed={passwordVisible}\n >\n <Icon className=\"h-4 w-4\" aria-hidden=\"true\" />\n </button>\n </div>\n );\n }\n\n return (\n <input\n type={type}\n className={cn(\n 'bg-background pointer-events-auto relative z-10 box-border flex h-8 min-h-8 max-h-8 w-full rounded-[0.33em] border border-gray-200 px-[0.75em] py-0 text-base ring-0 focus:ring-transparent sm:text-sm',\n 'file:text-foreground placeholder:text-muted-foreground/40 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n ref={ref}\n disabled={disabled}\n {...props}\n />\n );\n },\n);\nInput.displayName = 'Input';\n\nexport { Input };\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;AAKA,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,KAAI;AAC/C,IAAA,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AAEnE,IAAA,IAAI,IAAI,KAAK,UAAU,EAAE;QACvB,MAAM,IAAI,GAAG,eAAe,GAAG,MAAM,GAAG,GAAG;QAE3C,QACEA,
|
|
1
|
+
{"version":3,"file":"input.js","sources":["../../../src/components/ui/input.tsx"],"sourcesContent":["import * as React from 'react';\nimport { Eye, EyeOff } from 'lucide-react';\n\nimport { cn } from '@/utils';\n\nconst Input = React.forwardRef<HTMLInputElement, React.ComponentProps<'input'>>(\n ({ className, type, disabled, ...props }, ref) => {\n const [passwordVisible, setPasswordVisible] = React.useState(false);\n\n if (type === 'password') {\n const Icon = passwordVisible ? EyeOff : Eye;\n\n return (\n <div className=\"relative\">\n <input\n type={passwordVisible ? 'text' : 'password'}\n className={cn(\n 'bg-background pointer-events-auto relative z-10 box-border flex h-8 min-h-8 max-h-8 w-full rounded-[0.33em] border border-gray-200 px-[0.75em] py-0 pr-10 text-base ring-0 focus:ring-transparent sm:text-sm',\n 'file:text-foreground placeholder:text-muted-foreground/40 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n ref={ref}\n disabled={disabled}\n {...props}\n />\n <button\n type=\"button\"\n className=\"text-muted-foreground hover:text-foreground absolute inset-y-0 right-0 z-20 flex w-10 items-center justify-center disabled:cursor-not-allowed disabled:opacity-50\"\n onClick={() => setPasswordVisible((current) => !current)}\n disabled={disabled}\n aria-label={passwordVisible ? 'Hide password' : 'Show password'}\n aria-pressed={passwordVisible}\n >\n <Icon className=\"h-4 w-4\" aria-hidden=\"true\" />\n </button>\n </div>\n );\n }\n\n return (\n <input\n type={type}\n className={cn(\n 'bg-background pointer-events-auto relative z-10 box-border flex h-8 min-h-8 max-h-8 w-full rounded-[0.33em] border border-gray-200 px-[0.75em] py-0 text-base ring-0 focus:ring-transparent sm:text-sm',\n 'file:text-foreground placeholder:text-muted-foreground/40 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n ref={ref}\n disabled={disabled}\n {...props}\n />\n );\n },\n);\nInput.displayName = 'Input';\n\nexport { Input };\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;AAKA,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAC5B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,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* as LabelPrimitive from '@radix-ui/react-label';
|
|
3
3
|
import { cn } from '../../utils.js';
|
|
4
4
|
|
|
5
5
|
function Label({ className, ...props }) {
|
|
6
|
-
return (
|
|
6
|
+
return (jsx(LabelPrimitive.Root, { "data-slot": "label", className: cn('flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50', className), ...props }));
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export { Label };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.js","sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as LabelPrimitive from '@radix-ui/react-label';\n\nimport { cn } from '@/utils';\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n 'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n"],"names":["_jsx"],"mappings":";;;;AAKA,SAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACyC,EAAA;IACjD,QACEA,
|
|
1
|
+
{"version":3,"file":"label.js","sources":["../../../src/components/ui/label.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as LabelPrimitive from '@radix-ui/react-label';\n\nimport { cn } from '@/utils';\n\nfunction Label({\n className,\n ...props\n}: React.ComponentProps<typeof LabelPrimitive.Root>) {\n return (\n <LabelPrimitive.Root\n data-slot=\"label\"\n className={cn(\n 'flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Label };\n"],"names":["_jsx"],"mappings":";;;;AAKA,SAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACyC,EAAA;IACjD,QACEA,IAAC,cAAc,CAAC,IAAI,EAAA,EAAA,WAAA,EACR,OAAO,EACjB,SAAS,EAAE,EAAE,CACX,qNAAqN,EACrN,SAAS,CACV,KACG,KAAK,EAAA,CACT;AAEN;;;;"}
|
|
@@ -4,10 +4,11 @@ export declare function PageContainer({ className, children, }: {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare function PageHeader({ title, description, children, }: {
|
|
7
|
+
export declare function PageHeader({ title, description, children, actionsClassName, }: {
|
|
8
8
|
title: string;
|
|
9
9
|
description?: React.ReactNode;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
|
+
actionsClassName?: string;
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
/** Centered empty/placeholder state inside a dashed card. */
|
|
13
14
|
export declare function EmptyState({ title, description, children, }: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { cn } from '../../utils.js';
|
|
3
3
|
|
|
4
4
|
/** Consistent page container width for authenticated pages. */
|
|
5
5
|
function PageContainer({ className, children, }) {
|
|
6
|
-
return (
|
|
6
|
+
return (jsx("div", { className: cn('mx-auto w-full max-w-7xl px-4 py-8 sm:px-6', className), children: children }));
|
|
7
7
|
}
|
|
8
|
-
function PageHeader({ title, description, children, }) {
|
|
9
|
-
return (
|
|
8
|
+
function PageHeader({ title, description, children, actionsClassName, }) {
|
|
9
|
+
return (jsxs("div", { className: "flex flex-wrap items-end justify-between gap-3", children: [jsxs("div", { className: "space-y-1", children: [jsx("h1", { className: "text-2xl font-semibold tracking-tight text-gray-900", children: title }), description && (jsx("p", { className: "text-muted-foreground text-sm", children: description }))] }), children && (jsx("div", { className: cn('flex items-center gap-2', actionsClassName), children: children }))] }));
|
|
10
10
|
}
|
|
11
11
|
/** Centered empty/placeholder state inside a dashed card. */
|
|
12
12
|
function EmptyState({ title, description, children, }) {
|
|
13
|
-
return (
|
|
13
|
+
return (jsxs("div", { className: "flex flex-col items-center justify-center gap-2 rounded-[0.33em] border border-dashed border-gray-300 bg-white px-6 py-14 text-center", children: [jsx("p", { className: "text-sm font-medium text-gray-700", children: title }), description && (jsx("p", { className: "text-muted-foreground max-w-sm text-sm", children: description })), children && jsx("div", { className: "mt-2", children: children })] }));
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export { EmptyState, PageContainer, PageHeader };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-header.js","sources":["../../../src/components/ui/page-header.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@/utils';\n\n/** Consistent page container width for authenticated pages. */\nexport function PageContainer({\n className,\n children,\n}: {\n className?: string;\n children: React.ReactNode;\n}) {\n return (\n <div\n className={cn('mx-auto w-full max-w-7xl px-4 py-8 sm:px-6', className)}\n >\n {children}\n </div>\n );\n}\n\nexport function PageHeader({\n title,\n description,\n children,\n}: {\n title: string;\n description?: React.ReactNode;\n children?: React.ReactNode;\n}) {\n return (\n <div className=\"flex flex-wrap items-end justify-between gap-3\">\n <div className=\"space-y-1\">\n <h1 className=\"text-2xl font-semibold tracking-tight text-gray-900\">\n {title}\n </h1>\n {description && (\n <p className=\"text-muted-foreground text-sm\">{description}</p>\n )}\n </div>\n {children && <div className
|
|
1
|
+
{"version":3,"file":"page-header.js","sources":["../../../src/components/ui/page-header.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '@/utils';\n\n/** Consistent page container width for authenticated pages. */\nexport function PageContainer({\n className,\n children,\n}: {\n className?: string;\n children: React.ReactNode;\n}) {\n return (\n <div\n className={cn('mx-auto w-full max-w-7xl px-4 py-8 sm:px-6', className)}\n >\n {children}\n </div>\n );\n}\n\nexport function PageHeader({\n title,\n description,\n children,\n actionsClassName,\n}: {\n title: string;\n description?: React.ReactNode;\n children?: React.ReactNode;\n actionsClassName?: string;\n}) {\n return (\n <div className=\"flex flex-wrap items-end justify-between gap-3\">\n <div className=\"space-y-1\">\n <h1 className=\"text-2xl font-semibold tracking-tight text-gray-900\">\n {title}\n </h1>\n {description && (\n <p className=\"text-muted-foreground text-sm\">{description}</p>\n )}\n </div>\n {children && (\n <div className={cn('flex items-center gap-2', actionsClassName)}>\n {children}\n </div>\n )}\n </div>\n );\n}\n\n/** Centered empty/placeholder state inside a dashed card. */\nexport function EmptyState({\n title,\n description,\n children,\n}: {\n title: string;\n description?: React.ReactNode;\n children?: React.ReactNode;\n}) {\n return (\n <div className=\"flex flex-col items-center justify-center gap-2 rounded-[0.33em] border border-dashed border-gray-300 bg-white px-6 py-14 text-center\">\n <p className=\"text-sm font-medium text-gray-700\">{title}</p>\n {description && (\n <p className=\"text-muted-foreground max-w-sm text-sm\">{description}</p>\n )}\n {children && <div className=\"mt-2\">{children}</div>}\n </div>\n );\n}\n"],"names":["_jsx","_jsxs"],"mappings":";;;AAGA;SACgB,aAAa,CAAC,EAC5B,SAAS,EACT,QAAQ,GAIT,EAAA;AACC,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,EAAE,CAAC,4CAA4C,EAAE,SAAS,CAAC,EAAA,QAAA,EAErE,QAAQ,EAAA,CACL;AAEV;AAEM,SAAU,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,QAAQ,EACR,gBAAgB,GAMjB,EAAA;IACC,QACEC,cAAK,SAAS,EAAC,gDAAgD,EAAA,QAAA,EAAA,CAC7DA,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,WAAW,EAAA,QAAA,EAAA,CACxBD,YAAI,SAAS,EAAC,qDAAqD,EAAA,QAAA,EAChE,KAAK,EAAA,CACH,EACJ,WAAW,KACVA,GAAA,CAAA,GAAA,EAAA,EAAG,SAAS,EAAC,+BAA+B,EAAA,QAAA,EAAE,WAAW,GAAK,CAC/D,CAAA,EAAA,CACG,EACL,QAAQ,KACPA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,EAAE,CAAC,yBAAyB,EAAE,gBAAgB,CAAC,EAAA,QAAA,EAC5D,QAAQ,EAAA,CACL,CACP,CAAA,EAAA,CACG;AAEV;AAEA;AACM,SAAU,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,QAAQ,GAKT,EAAA;AACC,IAAA,QACEC,IAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,uIAAuI,aACpJD,GAAA,CAAA,GAAA,EAAA,EAAG,SAAS,EAAC,mCAAmC,YAAE,KAAK,EAAA,CAAK,EAC3D,WAAW,KACVA,GAAA,CAAA,GAAA,EAAA,EAAG,SAAS,EAAC,wCAAwC,EAAA,QAAA,EAAE,WAAW,EAAA,CAAK,CACxE,EACA,QAAQ,IAAIA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,MAAM,EAAA,QAAA,EAAE,QAAQ,EAAA,CAAO,CAAA,EAAA,CAC/C;AAEV;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
4
|
import { cn } from '../../utils.js';
|
|
5
5
|
|
|
6
6
|
function Popover({ ...props }) {
|
|
7
|
-
return
|
|
7
|
+
return jsx(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
|
|
8
8
|
}
|
|
9
|
-
const PopoverTrigger = React.forwardRef(({ className, ...props }, ref) => (
|
|
9
|
+
const PopoverTrigger = React.forwardRef(({ className, ...props }, ref) => (jsx(PopoverPrimitive.Trigger, { ref: ref, className: className, "data-slot": "popover-trigger", ...props })));
|
|
10
10
|
PopoverTrigger.displayName = PopoverPrimitive.Trigger.displayName;
|
|
11
|
-
const PopoverContent = React.forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (
|
|
11
|
+
const PopoverContent = React.forwardRef(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (jsx(PopoverPrimitive.Portal, { children: jsx(PopoverPrimitive.Content, { ref: ref, "data-slot": "popover-content", align: align, sideOffset: sideOffset, className: cn('bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-[0.33em] border p-4 shadow-md outline-hidden', className), ...props }) })));
|
|
12
12
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
13
|
-
const PopoverAnchor = React.forwardRef(({ className, ...props }, ref) => (
|
|
13
|
+
const PopoverAnchor = React.forwardRef(({ className, ...props }, ref) => (jsx(PopoverPrimitive.Anchor, { ref: ref, "data-slot": "popover-anchor", className: className, ...props })));
|
|
14
14
|
PopoverAnchor.displayName = PopoverPrimitive.Anchor.displayName;
|
|
15
15
|
|
|
16
16
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.js","sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\n\nimport { cn } from '@/utils';\n\nfunction Popover({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nconst PopoverTrigger = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <PopoverPrimitive.Trigger\n ref={ref}\n className={className}\n data-slot=\"popover-trigger\"\n {...props}\n />\n));\nPopoverTrigger.displayName = PopoverPrimitive.Trigger.displayName;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-[0.33em] border p-4 shadow-md outline-hidden',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nconst PopoverAnchor = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Anchor>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>\n>(({ className, ...props }, ref) => (\n <PopoverPrimitive.Anchor\n ref={ref}\n data-slot=\"popover-anchor\"\n className={className}\n {...props}\n />\n));\nPopoverAnchor.displayName = PopoverPrimitive.Anchor.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"names":["_jsx"],"mappings":";;;;;AAKA,SAAS,OAAO,CAAC,EACf,GAAG,KAAK,EAC2C,EAAA;IACnD,OAAOA,
|
|
1
|
+
{"version":3,"file":"popover.js","sources":["../../../src/components/ui/popover.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as PopoverPrimitive from '@radix-ui/react-popover';\n\nimport { cn } from '@/utils';\n\nfunction Popover({\n ...props\n}: React.ComponentProps<typeof PopoverPrimitive.Root>) {\n return <PopoverPrimitive.Root data-slot=\"popover\" {...props} />;\n}\n\nconst PopoverTrigger = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <PopoverPrimitive.Trigger\n ref={ref}\n className={className}\n data-slot=\"popover-trigger\"\n {...props}\n />\n));\nPopoverTrigger.displayName = PopoverPrimitive.Trigger.displayName;\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>\n>(({ className, align = 'center', sideOffset = 4, ...props }, ref) => (\n <PopoverPrimitive.Portal>\n <PopoverPrimitive.Content\n ref={ref}\n data-slot=\"popover-content\"\n align={align}\n sideOffset={sideOffset}\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-[0.33em] border p-4 shadow-md outline-hidden',\n className,\n )}\n {...props}\n />\n </PopoverPrimitive.Portal>\n));\nPopoverContent.displayName = PopoverPrimitive.Content.displayName;\n\nconst PopoverAnchor = React.forwardRef<\n React.ElementRef<typeof PopoverPrimitive.Anchor>,\n React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Anchor>\n>(({ className, ...props }, ref) => (\n <PopoverPrimitive.Anchor\n ref={ref}\n data-slot=\"popover-anchor\"\n className={className}\n {...props}\n />\n));\nPopoverAnchor.displayName = PopoverPrimitive.Anchor.displayName;\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };\n"],"names":["_js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AAA,CACT,CACH;AACD,aAAa,CAAC,WAAW,GAAG,gBAAgB,CAAC,MAAM,CAAC,WAAW;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
3
3
|
import { cn } from '../../utils.js';
|
|
4
4
|
|
|
5
5
|
function Separator({ className, orientation = 'horizontal', decorative = true, ...props }) {
|
|
6
|
-
return (
|
|
6
|
+
return (jsx(SeparatorPrimitive.Root, { "data-slot": "separator", decorative: decorative, orientation: orientation, className: cn('bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px', className), ...props }));
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export { Separator };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"separator.js","sources":["../../../src/components/ui/separator.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as SeparatorPrimitive from '@radix-ui/react-separator';\n\nimport { cn } from '@/utils';\n\nfunction Separator({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n return (\n <SeparatorPrimitive.Root\n data-slot=\"separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Separator };\n"],"names":["_jsx"],"mappings":";;;;AAKA,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,IAAI,EACjB,GAAG,KAAK,EAC6C,EAAA;AACrD,IAAA,QACEA,
|
|
1
|
+
{"version":3,"file":"separator.js","sources":["../../../src/components/ui/separator.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as SeparatorPrimitive from '@radix-ui/react-separator';\n\nimport { cn } from '@/utils';\n\nfunction Separator({\n className,\n orientation = 'horizontal',\n decorative = true,\n ...props\n}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n return (\n <SeparatorPrimitive.Root\n data-slot=\"separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport { Separator };\n"],"names":["_jsx"],"mappings":";;;;AAKA,SAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAW,GAAG,YAAY,EAC1B,UAAU,GAAG,IAAI,EACjB,GAAG,KAAK,EAC6C,EAAA;AACrD,IAAA,QACEA,GAAA,CAAC,kBAAkB,CAAC,IAAI,EAAA,EAAA,WAAA,EACZ,WAAW,EACrB,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,EAAE,CACX,gKAAgK,EAChK,SAAS,CACV,EAAA,GACG,KAAK,EAAA,CACT;AAEN;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { cn } from '../../utils.js';
|
|
3
3
|
|
|
4
4
|
function Skeleton({ className, ...props }) {
|
|
5
|
-
return (
|
|
5
|
+
return (jsx("div", { "data-slot": "skeleton", className: cn('bg-accent animate-pulse rounded-md', className), ...props }));
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export { Skeleton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.js","sources":["../../../src/components/ui/skeleton.tsx"],"sourcesContent":["import { cn } from '@/utils';\n\nfunction Skeleton({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"skeleton\"\n className={cn('bg-accent animate-pulse rounded-md', className)}\n {...props}\n />\n );\n}\n\nexport { Skeleton };\n"],"names":["_jsx"],"mappings":";;;AAEA,SAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B,EAAA;AACpE,IAAA,QACEA,
|
|
1
|
+
{"version":3,"file":"skeleton.js","sources":["../../../src/components/ui/skeleton.tsx"],"sourcesContent":["import { cn } from '@/utils';\n\nfunction Skeleton({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"skeleton\"\n className={cn('bg-accent animate-pulse rounded-md', className)}\n {...props}\n />\n );\n}\n\nexport { Skeleton };\n"],"names":["_jsx"],"mappings":";;;AAEA,SAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAA+B,EAAA;AACpE,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EAAA,WAAA,EACY,UAAU,EACpB,SAAS,EAAE,EAAE,CAAC,oCAAoC,EAAE,SAAS,CAAC,EAAA,GAC1D,KAAK,EAAA,CACT;AAEN;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { cn } from '../../utils.js';
|
|
3
3
|
|
|
4
4
|
const variantClasses = {
|
|
@@ -17,10 +17,10 @@ const variantClasses = {
|
|
|
17
17
|
};
|
|
18
18
|
function StatusNotice({ icon: Icon, media, title, description, action, actionClassName, variant = "primary", compact = false, className, ...props }) {
|
|
19
19
|
const styles = variantClasses[variant];
|
|
20
|
-
return (
|
|
20
|
+
return (jsxs("div", { "data-slot": "status-notice", className: cn("group/status-notice flex flex-col rounded-[0.33em] border", compact
|
|
21
21
|
? "items-start gap-3 p-3 sm:flex-row sm:items-start sm:gap-2"
|
|
22
|
-
: "gap-4 px-4 py-4 sm:flex-row sm:items-stretch sm:gap-3 sm:px-5", styles.container, className), ...props, children: [
|
|
23
|
-
(Icon && (
|
|
22
|
+
: "gap-4 px-4 py-4 sm:flex-row sm:items-stretch sm:gap-3 sm:px-5", styles.container, className), ...props, children: [jsxs("div", { className: cn("flex min-w-0 flex-1 items-start gap-3 sm:items-stretch sm:gap-3", compact && "gap-2 sm:items-start sm:gap-2"), children: [jsx("span", { className: cn("flex shrink-0 items-center justify-center rounded-[0.33em]", compact ? "size-8" : "size-10 sm:self-center", styles.icon), children: media ??
|
|
23
|
+
(Icon && (jsx(Icon, { className: compact ? "size-4" : "size-5", "aria-hidden": "true" }))) }), jsxs("div", { className: "min-w-0 flex-1 space-y-0.5", children: [jsx("p", { className: "text-sm font-medium text-gray-900", children: title }), description && (jsx("div", { className: "text-muted-foreground text-sm", children: description }))] })] }), action && (jsx("div", { className: cn("w-full shrink-0 sm:w-auto sm:self-center", actionClassName), children: action }))] }));
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export { StatusNotice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-notice.js","sources":["../../../src/components/ui/status-notice.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from \"react\";\r\nimport type { LucideIcon } from \"lucide-react\";\r\nimport { cn } from \"@/utils\";\r\n\r\ntype StatusNoticeVariant = \"primary\" | \"warning\" | \"destructive\";\r\n\r\nconst variantClasses: Record<\r\n StatusNoticeVariant,\r\n { container: string; icon: string }\r\n> = {\r\n primary: {\r\n container:\r\n \"border-primary/25 bg-primary/[0.035] transition-colors hover:bg-primary/[0.06]\",\r\n icon: \"bg-primary/5 text-primary\",\r\n },\r\n warning: {\r\n container:\r\n \"border-warning/30 bg-warning/10 transition-colors hover:bg-warning/15\",\r\n icon: \"bg-warning/10 text-warning\",\r\n },\r\n destructive: {\r\n container:\r\n \"border-destructive/30 bg-destructive/5 transition-colors hover:bg-destructive/10\",\r\n icon: \"bg-destructive/10 text-destructive\",\r\n },\r\n};\r\n\r\nfunction StatusNotice({\r\n icon: Icon,\r\n media,\r\n title,\r\n description,\r\n action,\r\n actionClassName,\r\n variant = \"primary\",\r\n compact = false,\r\n className,\r\n ...props\r\n}: ComponentProps<\"div\"> & {\r\n icon?: LucideIcon;\r\n media?: ReactNode;\r\n title: ReactNode;\r\n description?: ReactNode;\r\n action?: ReactNode;\r\n actionClassName?: string;\r\n variant?: StatusNoticeVariant;\r\n compact?: boolean;\r\n}) {\r\n const styles = variantClasses[variant];\r\n\r\n return (\r\n <div\r\n data-slot=\"status-notice\"\r\n className={cn(\r\n \"group/status-notice flex flex-col rounded-[0.33em] border\",\r\n compact\r\n ? \"items-start gap-3 p-3 sm:flex-row sm:items-start sm:gap-2\"\r\n : \"gap-4 px-4 py-4 sm:flex-row sm:items-stretch sm:gap-3 sm:px-5\",\r\n styles.container,\r\n className,\r\n )}\r\n {...props}\r\n >\r\n <div\r\n className={cn(\r\n \"flex min-w-0 flex-1 items-start gap-3 sm:items-stretch sm:gap-3\",\r\n compact && \"gap-2 sm:items-start sm:gap-2\",\r\n )}\r\n >\r\n <span\r\n className={cn(\r\n \"flex shrink-0 items-center justify-center rounded-[0.33em]\",\r\n compact ? \"size-8\" : \"size-10 sm:self-center\",\r\n styles.icon,\r\n )}\r\n >\r\n {media ??\r\n (Icon && (\r\n <Icon\r\n className={compact ? \"size-4\" : \"size-5\"}\r\n aria-hidden=\"true\"\r\n />\r\n ))}\r\n </span>\r\n <div className=\"min-w-0 flex-1 space-y-0.5\">\r\n <p className=\"text-sm font-medium text-gray-900\">{title}</p>\r\n {description && (\r\n <div className=\"text-muted-foreground text-sm\">{description}</div>\r\n )}\r\n </div>\r\n </div>\r\n {action && (\r\n <div\r\n className={cn(\r\n \"w-full shrink-0 sm:w-auto sm:self-center\",\r\n actionClassName,\r\n )}\r\n >\r\n {action}\r\n </div>\r\n )}\r\n </div>\r\n );\r\n}\r\n\r\nexport { StatusNotice, type StatusNoticeVariant };\r\n"],"names":["_jsxs","_jsx"],"mappings":";;;AAMA,MAAM,cAAc,GAGhB;AACF,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EACP,gFAAgF;AAClF,QAAA,IAAI,EAAE,2BAA2B;AAClC,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EACP,uEAAuE;AACzE,QAAA,IAAI,EAAE,4BAA4B;AACnC,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,SAAS,EACP,kFAAkF;AACpF,QAAA,IAAI,EAAE,oCAAoC;AAC3C,KAAA;CACF;AAED,SAAS,YAAY,CAAC,EACpB,IAAI,EAAE,IAAI,EACV,KAAK,EACL,KAAK,EACL,WAAW,EACX,MAAM,EACN,eAAe,EACf,OAAO,GAAG,SAAS,EACnB,OAAO,GAAG,KAAK,EACf,SAAS,EACT,GAAG,KAAK,EAUT,EAAA;AACC,IAAA,MAAM,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC;IAEtC,QACEA,
|
|
1
|
+
{"version":3,"file":"status-notice.js","sources":["../../../src/components/ui/status-notice.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from \"react\";\r\nimport type { LucideIcon } from \"lucide-react\";\r\nimport { cn } from \"@/utils\";\r\n\r\ntype StatusNoticeVariant = \"primary\" | \"warning\" | \"destructive\";\r\n\r\nconst variantClasses: Record<\r\n StatusNoticeVariant,\r\n { container: string; icon: string }\r\n> = {\r\n primary: {\r\n container:\r\n \"border-primary/25 bg-primary/[0.035] transition-colors hover:bg-primary/[0.06]\",\r\n icon: \"bg-primary/5 text-primary\",\r\n },\r\n warning: {\r\n container:\r\n \"border-warning/30 bg-warning/10 transition-colors hover:bg-warning/15\",\r\n icon: \"bg-warning/10 text-warning\",\r\n },\r\n destructive: {\r\n container:\r\n \"border-destructive/30 bg-destructive/5 transition-colors hover:bg-destructive/10\",\r\n icon: \"bg-destructive/10 text-destructive\",\r\n },\r\n};\r\n\r\nfunction StatusNotice({\r\n icon: Icon,\r\n media,\r\n title,\r\n description,\r\n action,\r\n actionClassName,\r\n variant = \"primary\",\r\n compact = false,\r\n className,\r\n ...props\r\n}: ComponentProps<\"div\"> & {\r\n icon?: LucideIcon;\r\n media?: ReactNode;\r\n title: ReactNode;\r\n description?: ReactNode;\r\n action?: ReactNode;\r\n actionClassName?: string;\r\n variant?: StatusNoticeVariant;\r\n compact?: boolean;\r\n}) {\r\n const styles = variantClasses[variant];\r\n\r\n return (\r\n <div\r\n data-slot=\"status-notice\"\r\n className={cn(\r\n \"group/status-notice flex flex-col rounded-[0.33em] border\",\r\n compact\r\n ? \"items-start gap-3 p-3 sm:flex-row sm:items-start sm:gap-2\"\r\n : \"gap-4 px-4 py-4 sm:flex-row sm:items-stretch sm:gap-3 sm:px-5\",\r\n styles.container,\r\n className,\r\n )}\r\n {...props}\r\n >\r\n <div\r\n className={cn(\r\n \"flex min-w-0 flex-1 items-start gap-3 sm:items-stretch sm:gap-3\",\r\n compact && \"gap-2 sm:items-start sm:gap-2\",\r\n )}\r\n >\r\n <span\r\n className={cn(\r\n \"flex shrink-0 items-center justify-center rounded-[0.33em]\",\r\n compact ? \"size-8\" : \"size-10 sm:self-center\",\r\n styles.icon,\r\n )}\r\n >\r\n {media ??\r\n (Icon && (\r\n <Icon\r\n className={compact ? \"size-4\" : \"size-5\"}\r\n aria-hidden=\"true\"\r\n />\r\n ))}\r\n </span>\r\n <div className=\"min-w-0 flex-1 space-y-0.5\">\r\n <p className=\"text-sm font-medium text-gray-900\">{title}</p>\r\n {description && (\r\n <div className=\"text-muted-foreground text-sm\">{description}</div>\r\n )}\r\n </div>\r\n </div>\r\n {action && (\r\n <div\r\n className={cn(\r\n \"w-full shrink-0 sm:w-auto sm:self-center\",\r\n actionClassName,\r\n )}\r\n >\r\n {action}\r\n </div>\r\n )}\r\n </div>\r\n );\r\n}\r\n\r\nexport { StatusNotice, type StatusNoticeVariant };\r\n"],"names":["_jsxs","_jsx"],"mappings":";;;AAMA,MAAM,cAAc,GAGhB;AACF,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EACP,gFAAgF;AAClF,QAAA,IAAI,EAAE,2BAA2B;AAClC,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,SAAS,EACP,uEAAuE;AAC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EAAE,WAAW,EAAA,CAAO,CACnE,CAAA,EAAA,CACG,IACF,EACL,MAAM,KACLA,GAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,EAAE,CACX,0CAA0C,EAC1C,eAAe,CAChB,YAEA,MAAM,EAAA,CACH,CACP,CAAA,EAAA,CACG;AAEV;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
3
3
|
import { cn } from '../../utils.js';
|
|
4
4
|
|
|
5
5
|
function Switch({ className, ...props }) {
|
|
6
|
-
return (
|
|
6
|
+
return (jsx(SwitchPrimitive.Root, { "data-slot": "switch", className: cn('peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50', className), ...props, children: jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: cn('bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0') }) }));
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export { Switch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.js","sources":["../../../src/components/ui/switch.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as SwitchPrimitive from '@radix-ui/react-switch';\n\nimport { cn } from '@/utils';\n\nfunction Switch({\n className,\n ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className={cn(\n 'bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0',\n )}\n />\n </SwitchPrimitive.Root>\n );\n}\n\nexport { Switch };\n"],"names":["_jsx"],"mappings":";;;;AAKA,SAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EAC0C,EAAA;AAClD,IAAA,QACEA,
|
|
1
|
+
{"version":3,"file":"switch.js","sources":["../../../src/components/ui/switch.tsx"],"sourcesContent":["import * as React from 'react';\nimport * as SwitchPrimitive from '@radix-ui/react-switch';\n\nimport { cn } from '@/utils';\n\nfunction Switch({\n className,\n ...props\n}: React.ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className={cn(\n 'bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0',\n )}\n />\n </SwitchPrimitive.Root>\n );\n}\n\nexport { Switch };\n"],"names":["_jsx"],"mappings":";;;;AAKA,SAAS,MAAM,CAAC,EACd,SAAS,EACT,GAAG,KAAK,EAC0C,EAAA;AAClD,IAAA,QACEA,GAAA,CAAC,eAAe,CAAC,IAAI,EAAA,EAAA,WAAA,EACT,QAAQ,EAClB,SAAS,EAAE,EAAE,CACX,2WAA2W,EAC3W,SAAS,CACV,EAAA,GACG,KAAK,EAAA,QAAA,EAETA,IAAC,eAAe,CAAC,KAAK,EAAA,EAAA,WAAA,EACV,cAAc,EACxB,SAAS,EAAE,EAAE,CACX,0QAA0Q,CAC3Q,EAAA,CACD,EAAA,CACmB;AAE3B;;;;"}
|