@pelatform/ui 2.0.0 → 2.1.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.
Files changed (43) hide show
  1. package/README.md +360 -5
  2. package/dist/animation.d.ts +6 -4
  3. package/dist/animation.js +3 -1
  4. package/dist/base.d.ts +1 -1
  5. package/dist/base.js +3 -1
  6. package/dist/components.d.ts +1 -2987
  7. package/dist/components.js +2 -2318
  8. package/dist/css/color/gray.css +105 -0
  9. package/dist/css/color/neutral.css +105 -0
  10. package/dist/css/color/slate.css +105 -0
  11. package/dist/css/color/stone.css +105 -0
  12. package/dist/css/color/zinc.css +105 -0
  13. package/dist/css/styles/style-lyra.css +1335 -0
  14. package/dist/css/styles/style-maia.css +1360 -0
  15. package/dist/css/styles/style-mira.css +1362 -0
  16. package/dist/css/styles/style-nova.css +1360 -0
  17. package/dist/css/styles/style-vega.css +1356 -0
  18. package/dist/hooks.d.ts +1 -93
  19. package/dist/hooks.js +2 -7
  20. package/dist/index.d.ts +1 -68
  21. package/dist/index.js +2 -7
  22. package/dist/radix.d.ts +1 -0
  23. package/dist/radix.js +4 -0
  24. package/dist/style.css +2 -0
  25. package/package.json +74 -48
  26. package/LICENSE +0 -21
  27. package/css/components/apexcharts.css +0 -101
  28. package/css/components/book.css +0 -19
  29. package/css/components/extra.css +0 -12
  30. package/css/components/image-input.css +0 -51
  31. package/css/components/leaflet.css +0 -25
  32. package/css/components/patterns.css +0 -34
  33. package/css/components/rating.css +0 -89
  34. package/css/components/scrollable.css +0 -118
  35. package/css/components/theme-transition.css +0 -51
  36. package/css/source.css +0 -20
  37. package/css/theme.css +0 -237
  38. package/dist/aria.d.ts +0 -1
  39. package/dist/aria.js +0 -2
  40. package/dist/chunk-UEVIEY7W.js +0 -51
  41. package/dist/chunk-VZEE3GOC.js +0 -458
  42. package/dist/default.d.ts +0 -1
  43. package/dist/default.js +0 -2
package/dist/hooks.d.ts CHANGED
@@ -1,93 +1 @@
1
- export * from '@pelatform/ui.hook';
2
- import { META_THEME_COLORS } from '@pelatform/ui.core';
3
-
4
- /**
5
- * Meta theme color management hook for React components
6
- * Automatically manages HTML meta theme-color tag based on current theme
7
- * Integrates with next-themes for seamless theme switching
8
- */
9
-
10
- /**
11
- * Hook for managing HTML meta theme-color tag based on current theme
12
- *
13
- * This hook automatically calculates the appropriate meta theme color
14
- * based on the current theme (light/dark) and provides utilities for
15
- * manual meta color manipulation.
16
- *
17
- * Features:
18
- * - Automatic theme color calculation based on resolved theme
19
- * - Support for custom color configurations
20
- * - Manual meta color setting capability
21
- * - Integration with next-themes
22
- *
23
- * @param defaultColors - Optional custom color configuration (defaults to META_THEME_COLORS)
24
- * @returns Object containing current meta color and setter function
25
- *
26
- * @example
27
- * ```tsx
28
- * // Basic usage with default colors (supports light, dark, and system)
29
- * function App() {
30
- * const { metaColor, setMetaColor } = useMetaColor();
31
- *
32
- * // metaColor automatically updates based on theme (light/dark/system)
33
- * useEffect(() => {
34
- * console.log('Current meta color:', metaColor);
35
- * }, [metaColor]);
36
- *
37
- * return <div>App content</div>;
38
- * }
39
- *
40
- * // Custom colors with system theme support
41
- * function CustomThemeApp() {
42
- * const customColors = {
43
- * light: '#f0f0f0',
44
- * dark: '#1a1a1a',
45
- * system: 'auto' // Will resolve to light or dark based on OS preference
46
- * };
47
- * const { metaColor } = useMetaColor(customColors);
48
- *
49
- * return <div style={{ backgroundColor: metaColor }}>Custom themed app</div>;
50
- * }
51
- *
52
- * // Manual meta color override for special pages
53
- * function SpecialPage() {
54
- * const { setMetaColor } = useMetaColor();
55
- *
56
- * useEffect(() => {
57
- * // Override meta color for this page
58
- * setMetaColor('#ff0000');
59
- *
60
- * // Cleanup: reset to theme color when leaving page
61
- * return () => {
62
- * setMetaColor(''); // This will revert to theme-based color
63
- * };
64
- * }, [setMetaColor]);
65
- *
66
- * return <div>Special page with red theme color</div>;
67
- * }
68
- *
69
- * // Integration with theme switcher
70
- * function ThemeAwareComponent() {
71
- * const { theme, setTheme } = useTheme();
72
- * const { metaColor } = useMetaColor();
73
- *
74
- * return (
75
- * <div>
76
- * <p>Current theme: {theme}</p>
77
- * <p>Meta color: {metaColor}</p>
78
- * <button onClick={() => setTheme('light')}>Light</button>
79
- * <button onClick={() => setTheme('dark')}>Dark</button>
80
- * <button onClick={() => setTheme('system')}>System</button>
81
- * </div>
82
- * );
83
- * }
84
- * ```
85
- */
86
- declare function useMetaColor(defaultColors?: typeof META_THEME_COLORS): {
87
- /** Current meta theme color based on resolved theme */
88
- metaColor: "#09090b" | "#ffffff";
89
- /** Function to manually set meta theme color */
90
- setMetaColor: (color: string) => void;
91
- };
92
-
93
- export { useMetaColor };
1
+ export * from 'pelatform-ui/hooks';
package/dist/hooks.js CHANGED
@@ -1,9 +1,4 @@
1
- import {
2
- useMetaColor
3
- } from "./chunk-UEVIEY7W.js";
1
+ "use client";
4
2
 
5
3
  // src/hooks.ts
6
- export * from "@pelatform/ui.hook";
7
- export {
8
- useMetaColor
9
- };
4
+ export * from "pelatform-ui/hooks";
package/dist/index.d.ts CHANGED
@@ -1,68 +1 @@
1
- export * from '@pelatform/ui.core';
2
- import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import React__default from 'react';
4
-
5
- /**
6
- * Props interface for icon components
7
- * Extends standard HTML SVG element attributes for full customization
8
- */
9
- type IconProps = React__default.HTMLAttributes<SVGElement>;
10
- /**
11
- * Collection of brand and service icons
12
- *
13
- * This object contains SVG icons for popular brands, services, and technologies.
14
- * All icons are designed to be scalable and themeable using CSS currentColor.
15
- *
16
- * @example
17
- * ```tsx
18
- * // Basic usage
19
- * <Icons.google className="w-6 h-6" />
20
- *
21
- * // With custom styling
22
- * <Icons.github
23
- * className="w-8 h-8 text-gray-600 hover:text-gray-900"
24
- * onClick={handleGitHubClick}
25
- * />
26
- *
27
- * // Colorful variants
28
- * <Icons.googleColorful className="w-10 h-10" />
29
- * <Icons.facebookColorful className="w-10 h-10" />
30
- * ```
31
- */
32
- declare const Icons: {
33
- anthropic: (props: IconProps) => react_jsx_runtime.JSX.Element;
34
- apple: (props: IconProps) => react_jsx_runtime.JSX.Element;
35
- aria: (props: IconProps) => react_jsx_runtime.JSX.Element;
36
- facebook: (props: IconProps) => react_jsx_runtime.JSX.Element;
37
- facebookColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
38
- github: (props: IconProps) => react_jsx_runtime.JSX.Element;
39
- google: (props: IconProps) => react_jsx_runtime.JSX.Element;
40
- googleColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
41
- instagram: (props: IconProps) => react_jsx_runtime.JSX.Element;
42
- linkedin: (props: IconProps) => react_jsx_runtime.JSX.Element;
43
- linkedinColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
44
- microsoft: (props: IconProps) => react_jsx_runtime.JSX.Element;
45
- nextjs: (props: IconProps) => react_jsx_runtime.JSX.Element;
46
- npm: (props: IconProps) => react_jsx_runtime.JSX.Element;
47
- openai: (props: IconProps) => react_jsx_runtime.JSX.Element;
48
- paypal: (props: IconProps) => react_jsx_runtime.JSX.Element;
49
- pelatform: (props: IconProps) => react_jsx_runtime.JSX.Element;
50
- pnpm: (props: IconProps) => react_jsx_runtime.JSX.Element;
51
- postgresql: (props: IconProps) => react_jsx_runtime.JSX.Element;
52
- prisma: (props: IconProps) => react_jsx_runtime.JSX.Element;
53
- radix: (props: IconProps) => react_jsx_runtime.JSX.Element;
54
- radixui: (props: IconProps) => react_jsx_runtime.JSX.Element;
55
- react: (props: IconProps) => react_jsx_runtime.JSX.Element;
56
- scira: (props: IconProps) => react_jsx_runtime.JSX.Element;
57
- scribble: (props: IconProps) => react_jsx_runtime.JSX.Element;
58
- supabaseColorful: (props: IconProps) => react_jsx_runtime.JSX.Element;
59
- tailwind: (props: IconProps) => react_jsx_runtime.JSX.Element;
60
- telegram: (props: IconProps) => react_jsx_runtime.JSX.Element;
61
- twitter: (props: IconProps) => react_jsx_runtime.JSX.Element;
62
- whatsApp: (props: IconProps) => react_jsx_runtime.JSX.Element;
63
- x: (props: IconProps) => react_jsx_runtime.JSX.Element;
64
- yarn: (props: IconProps) => react_jsx_runtime.JSX.Element;
65
- youtube: (props: IconProps) => react_jsx_runtime.JSX.Element;
66
- };
67
-
68
- export { Icons };
1
+ export * from 'pelatform-ui';
package/dist/index.js CHANGED
@@ -1,9 +1,4 @@
1
- import {
2
- Icons
3
- } from "./chunk-VZEE3GOC.js";
1
+ "use client";
4
2
 
5
3
  // src/index.ts
6
- export * from "@pelatform/ui.core";
7
- export {
8
- Icons
9
- };
4
+ export * from "pelatform-ui";
@@ -0,0 +1 @@
1
+ export * from 'pelatform-ui/radix';
package/dist/radix.js ADDED
@@ -0,0 +1,4 @@
1
+ "use client";
2
+
3
+ // src/radix.ts
4
+ export * from "pelatform-ui/radix";
package/dist/style.css ADDED
@@ -0,0 +1,2 @@
1
+ @import "pelatform-ui/css";
2
+ @source ".";
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@pelatform/ui",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "A Modern and Minimal React UI Library built with TailwindCSS.",
5
- "author": "Pelatform Dev",
5
+ "author": "Pelatform",
6
6
  "license": "MIT",
7
7
  "type": "module",
8
8
  "main": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
10
+ "sideEffects": false,
10
11
  "exports": {
11
- "./css": "./css/theme.css",
12
- "./css/*": "./css/components/*.css",
12
+ "./css": "./dist/style.css",
13
+ "./color/*": "./dist/css/color/*.css",
14
+ "./styles/*": "./dist/css/styles/*.css",
13
15
  ".": {
14
16
  "types": "./dist/index.d.ts",
15
17
  "default": "./dist/index.js"
@@ -18,75 +20,99 @@
18
20
  "types": "./dist/animation.d.ts",
19
21
  "default": "./dist/animation.js"
20
22
  },
21
- "./aria": {
22
- "types": "./dist/aria.d.ts",
23
- "default": "./dist/aria.js"
24
- },
25
23
  "./base": {
26
24
  "types": "./dist/base.d.ts",
27
25
  "default": "./dist/base.js"
28
26
  },
29
- "./default": {
30
- "types": "./dist/default.d.ts",
31
- "default": "./dist/default.js"
27
+ "./components": {
28
+ "types": "./dist/components.d.ts",
29
+ "default": "./dist/components.js"
32
30
  },
33
31
  "./hooks": {
34
32
  "types": "./dist/hooks.d.ts",
35
33
  "default": "./dist/hooks.js"
36
34
  },
37
- "./components": {
38
- "types": "./dist/components.d.ts",
39
- "default": "./dist/components.js"
35
+ "./radix": {
36
+ "types": "./dist/radix.d.ts",
37
+ "default": "./dist/radix.js"
40
38
  }
41
39
  },
42
- "homepage": "https://devpelatform.github.io/ui",
40
+ "scripts": {
41
+ "clean": "rimraf dist",
42
+ "clean:all": "rimraf .turbo dist node_modules",
43
+ "dev": "tsup --watch --onSuccess \"cp src/style.css dist/style.css\"",
44
+ "build": "tsup && cp src/style.css dist/style.css",
45
+ "types:check": "tsc --noEmit"
46
+ },
47
+ "repository": "github:pelatformlabs/ui",
48
+ "homepage": "https://github.com/pelatformlabs/ui",
49
+ "bugs": {
50
+ "url": "https://github.com/pelatformlabs/ui/issues"
51
+ },
43
52
  "files": [
44
- "css/*",
45
- "dist/*",
46
- "README.md"
53
+ "css",
54
+ "dist"
47
55
  ],
48
56
  "keywords": [
49
57
  "pelatform",
50
58
  "ui",
59
+ "react",
60
+ "nextjs",
61
+ "vite",
51
62
  "tailwindcss",
52
- "react"
63
+ "shadcn",
64
+ "radix ui",
65
+ "base ui",
66
+ "components",
67
+ "animation"
53
68
  ],
54
- "dependencies": {
55
- "@tanstack/react-query": "^5.90.10",
56
- "tw-animate-css": "^1.4.0",
57
- "@pelatform/ui.animation": "0.1.0",
58
- "@pelatform/ui.core": "0.1.0",
59
- "@pelatform/ui.base": "0.1.0",
60
- "@pelatform/ui.default": "0.1.0",
61
- "@pelatform/ui.hook": "0.1.0",
62
- "@pelatform/ui.aria": "0.1.0"
63
- },
64
69
  "devDependencies": {
65
- "@types/node": "^24.10.1",
66
- "@types/react": "^19.2.7",
67
- "react": "^19.2.0",
68
- "tailwindcss": "^4.1.17",
70
+ "@pelatform/tsconfig": "^0.1.4",
71
+ "@types/react": "^19.2.14",
72
+ "glob": "^13.0.6",
73
+ "pelatform-ui": "1.3.0",
74
+ "react": "^19.2.4",
69
75
  "tsup": "^8.5.1",
70
76
  "typescript": "^5.9.3"
71
77
  },
72
78
  "peerDependencies": {
73
- "react": ">=18.0.0",
74
- "react-dom": ">=18.0.0",
75
- "tailwindcss": ">=3.0.0"
76
- },
77
- "peerDependenciesMeta": {
78
- "tailwindcss": {
79
- "optional": true
80
- }
79
+ "@base-ui/react": ">=1.2.0",
80
+ "@dnd-kit/core": ">=6.3.0",
81
+ "@dnd-kit/modifiers": ">=9.0.0",
82
+ "@dnd-kit/sortable": ">=10.0.0",
83
+ "@dnd-kit/utilities": ">=3.2.0",
84
+ "@headless-tree/core": ">=1.6.0",
85
+ "@pelatform/utils": ">=1.0.15",
86
+ "@tanstack/react-table": ">=8.20.0",
87
+ "cmdk": ">=1.1.0",
88
+ "date-fns": ">=4.1.0",
89
+ "embla-carousel-react": ">=8.6.0",
90
+ "input-otp": ">=1.4.0",
91
+ "lucide-react": ">=0.577.0",
92
+ "motion": ">=12.35.0",
93
+ "next-themes": ">=0.4.5",
94
+ "pelatform-ui": ">=1.2.0",
95
+ "radix-ui": ">=1.4.0",
96
+ "react": ">=18.0.0 || >=19.0.0-rc.0",
97
+ "react-day-picker": ">=9.14.0",
98
+ "react-dom": ">=18.0.0 || >=19.0.0-rc.0",
99
+ "react-phone-number-input": ">=3.4.0",
100
+ "react-resizable-panels": ">=4.7.0",
101
+ "sonner": ">=2.0.5",
102
+ "tsup": ">=8.5.0",
103
+ "typescript": ">=5.9.0",
104
+ "vaul": ">=1.1.0"
81
105
  },
82
106
  "publishConfig": {
107
+ "registry": "https://registry.npmjs.org/",
83
108
  "access": "public"
84
109
  },
85
- "scripts": {
86
- "clean": "rimraf dist",
87
- "clean:all": "rimraf .turbo dist node_modules",
88
- "dev": "tsup --watch",
89
- "build": "tsup --clean",
90
- "types:check": "tsc --noEmit"
110
+ "lint-staged": {
111
+ "*.{js,jsx,ts,tsx,cjs,mjs,cts,mts}": "biome check --write --no-errors-on-unmatched",
112
+ "*.{md,yml,yaml}": "prettier --write",
113
+ "*.{json,jsonc,html}": "biome format --write --no-errors-on-unmatched"
114
+ },
115
+ "dependencies": {
116
+ "tw-animate-css": "^1.4.0"
91
117
  }
92
- }
118
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Pelatform
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,101 +0,0 @@
1
- @layer components {
2
- .apexcharts-text,
3
- .apexcharts-title-text,
4
- .apexcharts-legend-text {
5
- font-family: inherit !important;
6
- }
7
-
8
- .apexcharts-title-text {
9
- font-weight: var(--font-weight-normal);
10
- }
11
-
12
- .apexcharts-pie-label {
13
- @apply text-xs;
14
- }
15
-
16
- .apexcharts-toolbar {
17
- text-align: start !important;
18
- }
19
-
20
- .apexcharts-menu {
21
- border: 1px solid var(--color-border) !important;
22
- box-shadow: var(--box-shadow-sm) !important;
23
- background-color: var(--color-background) !important;
24
- border-radius: 0.625rem !important;
25
- padding: 0.5rem 0 !important;
26
- overflow: hidden;
27
- min-width: 10rem !important;
28
- }
29
-
30
- .apexcharts-menu .apexcharts-menu-item {
31
- padding: 0.5rem 0.5rem !important;
32
- }
33
-
34
- .apexcharts-menu .apexcharts-menu-item:hover {
35
- background-color: var(--gray-100) !important;
36
- }
37
-
38
- .apexcharts-tooltip {
39
- border: 1px solid var(--color-border) !important;
40
- box-shadow: var(--box-shadow-sm) !important;
41
- background-color: var(--color-background) !important;
42
- border-radius: 0.625rem !important;
43
- color: var(--color-secondary-foreground) !important;
44
- }
45
-
46
- .apexcharts-tooltip .apexcharts-tooltip-title {
47
- @apply text-foreground text-sm font-medium;
48
- padding: 0.25rem 0.5rem !important;
49
- background-color: transparent !important;
50
- border-bottom: 1px solid var(--color-border) !important;
51
- }
52
-
53
- .apexcharts-xaxistooltip {
54
- border: 1px solid var(--color-border) !important;
55
- box-shadow: var(--box-shadow-sm) !important;
56
- background-color: var(--color-background) !important;
57
- border-radius: 0.625rem;
58
- color: var(--color-foreground);
59
- }
60
-
61
- .apexcharts-xaxistooltip:before {
62
- border-bottom: 0 !important;
63
- }
64
-
65
- .apexcharts-legend {
66
- display: flex;
67
- flex-direction: column;
68
- @apply gap-2;
69
- }
70
-
71
- .apexcharts-legend .apexcharts-legend-series {
72
- @apply gap-1;
73
- display: flex;
74
- align-items: center;
75
- }
76
-
77
- .apexcharts-legend .apexcharts-legend-series .apexcharts-legend-text {
78
- @apply text-muted-foreground text-sm font-medium;
79
- }
80
-
81
- .apexcharts-card-rounded .apexcharts-canvas svg {
82
- border-bottom-left-radius: var(--radius-xl);
83
- border-bottom-right-radius: var(--radius-xl);
84
- }
85
-
86
- .apexcharts-rounded-sm .apexcharts-canvas svg {
87
- border-radius: var(--radius-sm);
88
- }
89
-
90
- .apexcharts-rounded .apexcharts-canvas svg {
91
- border-radius: var(--radius-md);
92
- }
93
-
94
- .apexcharts-rounded-lg .apexcharts-canvas svg {
95
- border-radius: var(--radius-lg);
96
- }
97
-
98
- .apexcharts-rounded-xl .apexcharts-canvas svg {
99
- border-radius: var(--radius-xl);
100
- }
101
- }
@@ -1,19 +0,0 @@
1
- @layer components {
2
- .bg-book-bind-bg {
3
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
4
- }
5
-
6
- .bg-book-pages {
7
- background: linear-gradient(90deg, #f1f1f1 0%, #ffffff 100%);
8
- }
9
-
10
- .shadow-book {
11
- box-shadow:
12
- 0 4px 6px -1px rgba(0, 0, 0, 0.1),
13
- 0 2px 4px -1px rgba(0, 0, 0, 0.06);
14
- }
15
-
16
- .book-bg {
17
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
18
- }
19
- }
@@ -1,12 +0,0 @@
1
- @layer components {
2
- .animate-move {
3
- animation: move 0.6s ease-out forwards;
4
- will-change: transform;
5
- }
6
-
7
- .grid-container {
8
- @apply container max-w-7xl;
9
- margin-inline: auto;
10
- padding-inline: 0rem;
11
- }
12
- }
@@ -1,51 +0,0 @@
1
- @layer components {
2
- .pf-image-input {
3
- @apply relative inline-flex size-20 cursor-pointer items-center justify-center;
4
-
5
- input[type='file'] {
6
- @apply absolute size-0 appearance-none opacity-0;
7
- }
8
- }
9
-
10
- .pf-image-input-remove {
11
- @apply bg-background border-border end-px top-px absolute z-1 flex size-5 cursor-pointer items-center justify-center rounded-full border shadow-sm;
12
-
13
- i {
14
- @apply text-muted-foreground text-[11px];
15
- }
16
-
17
- svg {
18
- @apply text-muted-foreground size-3.25;
19
- }
20
-
21
- &:hover {
22
- i {
23
- @apply text-foreground;
24
- }
25
-
26
- svg {
27
- @apply text-foreground;
28
- }
29
- }
30
- }
31
-
32
- .pf-image-input-placeholder {
33
- @apply border-border pf-image-input-empty:border-border relative size-full overflow-hidden rounded-full border bg-cover bg-no-repeat;
34
- }
35
-
36
- .pf-image-input-preview {
37
- @apply relative size-full overflow-hidden rounded-full bg-cover bg-no-repeat;
38
- }
39
- }
40
-
41
- @custom-variant pf-image-input-empty {
42
- [data-pf-image-input-initialized].empty & {
43
- @slot;
44
- }
45
- }
46
-
47
- @custom-variant image-input-changed {
48
- [data-pf-image-input-initialized].changed & {
49
- @slot;
50
- }
51
- }
@@ -1,25 +0,0 @@
1
- @layer components {
2
- /* Base Leaflet container styles */
3
- .leaflet-container {
4
- /* Leaflet pane and control styles */
5
- & .leaflet-pane,
6
- & .leaflet-top,
7
- & .leaflet-bottom,
8
- & .leaflet-control {
9
- z-index: 1 !important;
10
- }
11
-
12
- /* Leaflet popup content wrapper styles */
13
- & .leaflet-popup-content-wrapper {
14
- border-radius: var(--radius-md);
15
- text-align: center;
16
- background-color: var(--color-popover);
17
-
18
- /* Leaflet popup content styles */
19
- & .leaflet-popup-content {
20
- font-family: inherit;
21
- @apply text-xs;
22
- }
23
- }
24
- }
25
- }