@windrun-huaiin/third-ui 5.10.2 → 5.11.0

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/fuma.css CHANGED
@@ -1,47 +1,14 @@
1
+
1
2
  /* Has Banner */
2
- .has-banner .sticky.top-0.z-40 {
3
- position: fixed !important;
4
- top: 0 !important;
5
- left: 0 !important;
6
- width: 100vw !important;
7
- z-index: 1001 !important;
8
- height: 3rem !important;
9
- min-height: 3rem !important;
10
- max-height: 3rem !important;
11
- margin: 0 !important;
12
- border-radius: 0 !important;
13
- }
14
3
  .has-banner header#nd-nav {
15
4
  top: 2.5rem !important;
16
5
  }
17
6
 
18
7
  /* No Banner */
19
- .no-banner .sticky.top-0.z-40 {
20
- position: fixed !important;
21
- top: 0 !important;
22
- left: 0 !important;
23
- width: 100vw !important;
24
- z-index: 1001 !important;
25
- height: 0.5rem !important;
26
- min-height: 0.5rem !important;
27
- max-height: 0.5rem !important;
28
- margin: 0 !important;
29
- border-radius: 0 !important;
30
- }
31
8
  .no-banner header#nd-nav {
32
9
  top: 0rem !important;
33
10
  }
34
11
 
35
- /* Banner */
36
- .has-banner main,
37
- .has-banner .main-content {
38
- padding-top: 3rem;
39
- }
40
- .no-banner main,
41
- .no-banner .main-content {
42
- padding-top: 0.5rem;
43
- }
44
-
45
12
  /* Custome Fuma Steps */
46
13
  .fd-step::before {
47
14
  @apply size-5 -start-2.5 rounded-full;
@@ -136,4 +103,4 @@
136
103
  div[role="dialog"].rounded-lg.border.bg-fd-popover {
137
104
  min-width: 150px !important;
138
105
  /* max-width: 150px !important; */
139
- }
106
+ }
@@ -2725,7 +2725,7 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
2725
2725
  }
2726
2726
  var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
2727
2727
  var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
2728
- var DEFAULT_FALLBACK_ICON = "BTC";
2728
+ var DEFAULT_FALLBACK_ICON = "Sparkles";
2729
2729
  function getGlobalIcon(iconKey, createElement8) {
2730
2730
  var _a;
2731
2731
  if (!iconKey) {
@@ -2896,53 +2896,19 @@ function getElementRef(element) {
2896
2896
  return element.props.ref || element.ref;
2897
2897
  }
2898
2898
 
2899
- // ../../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
2900
- var import_clsx = require("clsx");
2901
- var falsyToString = (value) => typeof value === "boolean" ? `${value}` : value === 0 ? "0" : value;
2902
- var cx = import_clsx.clsx;
2903
- var cva = (base, config) => (props) => {
2904
- var _config_compoundVariants;
2905
- if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
2906
- const { variants, defaultVariants } = config;
2907
- const getVariantClassNames = Object.keys(variants).map((variant) => {
2908
- const variantProp = props === null || props === void 0 ? void 0 : props[variant];
2909
- const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];
2910
- if (variantProp === null) return null;
2911
- const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);
2912
- return variants[variant][variantKey];
2913
- });
2914
- const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param) => {
2915
- let [key, value] = param;
2916
- if (value === void 0) {
2917
- return acc;
2918
- }
2919
- acc[key] = value;
2920
- return acc;
2921
- }, {});
2922
- const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param) => {
2923
- let _a = param, { class: cvClass, className: cvClassName } = _a, compoundVariantOptions = __objRest(_a, ["class", "className"]);
2924
- return Object.entries(compoundVariantOptions).every((param2) => {
2925
- let [key, value] = param2;
2926
- return Array.isArray(value) ? value.includes(__spreadValues(__spreadValues({}, defaultVariants), propsWithoutUndefined)[key]) : __spreadValues(__spreadValues({}, defaultVariants), propsWithoutUndefined)[key] === value;
2927
- }) ? [
2928
- ...acc,
2929
- cvClass,
2930
- cvClassName
2931
- ] : acc;
2932
- }, []);
2933
- return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);
2934
- };
2899
+ // ../base-ui/src/ui/button.tsx
2900
+ var import_class_variance_authority = require("class-variance-authority");
2935
2901
 
2936
2902
  // ../lib/src/utils.ts
2937
- var import_clsx2 = require("clsx");
2903
+ var import_clsx = require("clsx");
2938
2904
  var import_tailwind_merge = require("tailwind-merge");
2939
2905
  function cn(...inputs) {
2940
- return (0, import_tailwind_merge.twMerge)((0, import_clsx2.clsx)(inputs));
2906
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
2941
2907
  }
2942
2908
 
2943
2909
  // ../base-ui/src/ui/button.tsx
2944
2910
  var import_jsx_runtime34 = require("react/jsx-runtime");
2945
- var buttonVariants = cva(
2911
+ var buttonVariants = (0, import_class_variance_authority.cva)(
2946
2912
  "inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
2947
2913
  {
2948
2914
  variants: {