@sekiui/elements 0.0.13 → 0.0.15

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 (123) hide show
  1. package/README.md +260 -14
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  3. package/dist/{esm/index-3X8Wsgjr.js → cjs/index-6jIfEFyf.js} +32 -54
  4. package/dist/cjs/index.cjs.js +0 -1
  5. package/dist/cjs/loader.cjs.js +4 -4
  6. package/dist/cjs/seki-button.cjs.entry.js +6 -31
  7. package/dist/cjs/sekiui.cjs.js +5 -5
  8. package/dist/collection/collection-manifest.json +2 -6
  9. package/dist/collection/components/button/seki-button.css +380 -0
  10. package/dist/collection/components/button/seki-button.js +108 -0
  11. package/dist/collection/index.js +0 -1
  12. package/dist/components/index.js +1130 -3
  13. package/dist/components/seki-button.js +10 -35
  14. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  15. package/dist/{cjs/index-BxbILFLe.js → esm/index-BROrRAlq.js} +27 -81
  16. package/dist/esm/index.js +0 -1
  17. package/dist/esm/loader.js +4 -4
  18. package/dist/esm/seki-button.entry.js +6 -31
  19. package/dist/esm/sekiui.js +5 -5
  20. package/dist/sekiui/index.esm.js +0 -2
  21. package/dist/sekiui/p-BROrRAlq.js +2 -0
  22. package/dist/sekiui/p-DQuL1Twl.js +1 -0
  23. package/dist/sekiui/p-e65a94f7.entry.js +1 -0
  24. package/dist/sekiui/sekiui.esm.js +1 -2
  25. package/dist/types/components/button/seki-button.d.ts +7 -0
  26. package/dist/types/components.d.ts +16 -62
  27. package/dist/types/index.d.ts +1 -1
  28. package/dist/types/stencil-public-runtime.d.ts +16 -2
  29. package/loader/cdn.js +1 -0
  30. package/loader/index.cjs.js +1 -0
  31. package/loader/index.d.ts +24 -0
  32. package/loader/index.es2017.js +1 -0
  33. package/loader/index.js +2 -0
  34. package/package.json +42 -27
  35. package/LICENSE +0 -21
  36. package/dist/cjs/index-BxbILFLe.js.map +0 -1
  37. package/dist/cjs/index.cjs.js.map +0 -1
  38. package/dist/cjs/loader.cjs.js.map +0 -1
  39. package/dist/cjs/seki-button.entry.cjs.js.map +0 -1
  40. package/dist/cjs/seki-card-content.cjs.entry.js +0 -18
  41. package/dist/cjs/seki-card-content.entry.cjs.js.map +0 -1
  42. package/dist/cjs/seki-card-header.cjs.entry.js +0 -18
  43. package/dist/cjs/seki-card-header.entry.cjs.js.map +0 -1
  44. package/dist/cjs/seki-card-title.cjs.entry.js +0 -18
  45. package/dist/cjs/seki-card-title.entry.cjs.js.map +0 -1
  46. package/dist/cjs/seki-card.cjs.entry.js +0 -18
  47. package/dist/cjs/seki-card.entry.cjs.js.map +0 -1
  48. package/dist/cjs/sekiui.cjs.js.map +0 -1
  49. package/dist/collection/button.js +0 -18
  50. package/dist/collection/button.js.map +0 -1
  51. package/dist/collection/card.js +0 -18
  52. package/dist/collection/card.js.map +0 -1
  53. package/dist/collection/components/seki-button/seki-button.css +0 -60
  54. package/dist/collection/components/seki-button/seki-button.js +0 -125
  55. package/dist/collection/components/seki-button/seki-button.js.map +0 -1
  56. package/dist/collection/components/seki-card/seki-card.css +0 -60
  57. package/dist/collection/components/seki-card/seki-card.js +0 -19
  58. package/dist/collection/components/seki-card/seki-card.js.map +0 -1
  59. package/dist/collection/components/seki-card-content/seki-card-content.css +0 -60
  60. package/dist/collection/components/seki-card-content/seki-card-content.js +0 -19
  61. package/dist/collection/components/seki-card-content/seki-card-content.js.map +0 -1
  62. package/dist/collection/components/seki-card-header/seki-card-header.css +0 -60
  63. package/dist/collection/components/seki-card-header/seki-card-header.js +0 -19
  64. package/dist/collection/components/seki-card-header/seki-card-header.js.map +0 -1
  65. package/dist/collection/components/seki-card-title/seki-card-title.css +0 -60
  66. package/dist/collection/components/seki-card-title/seki-card-title.js +0 -19
  67. package/dist/collection/components/seki-card-title/seki-card-title.js.map +0 -1
  68. package/dist/collection/index.js.map +0 -1
  69. package/dist/components/index.js.map +0 -1
  70. package/dist/components/seki-button.js.map +0 -1
  71. package/dist/components/seki-card-content.d.ts +0 -11
  72. package/dist/components/seki-card-content.js +0 -38
  73. package/dist/components/seki-card-content.js.map +0 -1
  74. package/dist/components/seki-card-header.d.ts +0 -11
  75. package/dist/components/seki-card-header.js +0 -38
  76. package/dist/components/seki-card-header.js.map +0 -1
  77. package/dist/components/seki-card-title.d.ts +0 -11
  78. package/dist/components/seki-card-title.js +0 -38
  79. package/dist/components/seki-card-title.js.map +0 -1
  80. package/dist/components/seki-card.d.ts +0 -11
  81. package/dist/components/seki-card.js +0 -38
  82. package/dist/components/seki-card.js.map +0 -1
  83. package/dist/esm/index-3X8Wsgjr.js.map +0 -1
  84. package/dist/esm/index.js.map +0 -1
  85. package/dist/esm/loader.js.map +0 -1
  86. package/dist/esm/seki-button.entry.js.map +0 -1
  87. package/dist/esm/seki-card-content.entry.js +0 -16
  88. package/dist/esm/seki-card-content.entry.js.map +0 -1
  89. package/dist/esm/seki-card-header.entry.js +0 -16
  90. package/dist/esm/seki-card-header.entry.js.map +0 -1
  91. package/dist/esm/seki-card-title.entry.js +0 -16
  92. package/dist/esm/seki-card-title.entry.js.map +0 -1
  93. package/dist/esm/seki-card.entry.js +0 -16
  94. package/dist/esm/seki-card.entry.js.map +0 -1
  95. package/dist/esm/sekiui.js.map +0 -1
  96. package/dist/sekiui/index.esm.js.map +0 -1
  97. package/dist/sekiui/loader.esm.js.map +0 -1
  98. package/dist/sekiui/p-043a8413.entry.js +0 -2
  99. package/dist/sekiui/p-043a8413.entry.js.map +0 -1
  100. package/dist/sekiui/p-3X8Wsgjr.js +0 -3
  101. package/dist/sekiui/p-3X8Wsgjr.js.map +0 -1
  102. package/dist/sekiui/p-65fc14ff.entry.js +0 -2
  103. package/dist/sekiui/p-65fc14ff.entry.js.map +0 -1
  104. package/dist/sekiui/p-aa468537.entry.js +0 -2
  105. package/dist/sekiui/p-aa468537.entry.js.map +0 -1
  106. package/dist/sekiui/p-c49f2aaf.entry.js +0 -2
  107. package/dist/sekiui/p-c49f2aaf.entry.js.map +0 -1
  108. package/dist/sekiui/p-e8e49693.entry.js +0 -2
  109. package/dist/sekiui/p-e8e49693.entry.js.map +0 -1
  110. package/dist/sekiui/seki-button.entry.esm.js.map +0 -1
  111. package/dist/sekiui/seki-card-content.entry.esm.js.map +0 -1
  112. package/dist/sekiui/seki-card-header.entry.esm.js.map +0 -1
  113. package/dist/sekiui/seki-card-title.entry.esm.js.map +0 -1
  114. package/dist/sekiui/seki-card.entry.esm.js.map +0 -1
  115. package/dist/sekiui/sekiui.css +0 -60
  116. package/dist/sekiui/sekiui.esm.js.map +0 -1
  117. package/dist/types/button.d.ts +0 -4
  118. package/dist/types/card.d.ts +0 -4
  119. package/dist/types/components/seki-button/seki-button.d.ts +0 -10
  120. package/dist/types/components/seki-card/seki-card.d.ts +0 -3
  121. package/dist/types/components/seki-card-content/seki-card-content.d.ts +0 -3
  122. package/dist/types/components/seki-card-header/seki-card-header.d.ts +0 -3
  123. package/dist/types/components/seki-card-title/seki-card-title.d.ts +0 -3
package/README.md CHANGED
@@ -1,25 +1,271 @@
1
- # @sekiui/elements
1
+ # SekiUI Components
2
2
 
3
- **Seki UI** short, rock-solid web components with the `seki-` prefix.
3
+ Modern, accessible Web Components library built with Stencil.js, inspired by shadcn/ui design principles.
4
+
5
+ ## Features
6
+
7
+ - 🎨 **Modern Design**: Clean, minimal components following shadcn/ui aesthetic
8
+ - ♿ **Accessibility First**: WCAG 2.1 Level AA compliant
9
+ - 🌗 **Dark Mode**: First-class dark mode support via CSS custom properties
10
+ - 📦 **Framework Agnostic**: Works with React, Vue, Angular, or vanilla JavaScript
11
+ - 🎯 **TypeScript**: Full TypeScript definitions included
12
+ - 🎭 **Storybook**: Interactive component documentation
13
+ - 🔧 **Tree-shakeable**: Import only what you need
14
+
15
+ ## Installation
16
+
17
+ ```bash
18
+ npm install @sekiui/elements
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ### Web Components (Vanilla JS)
4
24
 
5
- ## Quick start
6
25
  ```html
7
- <script type="module">
8
- import "@sekiui/elements"; // registers <seki-button> and <seki-card>
26
+ <script type="module" src="node_modules/@sekiui/components/dist/sekiui/sekiui.esm.js"></script>
27
+
28
+ <seki-button variant="default">Click me</seki-button>
29
+ ```
30
+
31
+ ### React
32
+
33
+ ```jsx
34
+ import { SekiButton } from '@sekiui/elements/react';
35
+
36
+ function App() {
37
+ return <SekiButton variant="default">Click me</SekiButton>;
38
+ }
39
+ ```
40
+
41
+ ### Vue
42
+
43
+ ```vue
44
+ <template>
45
+ <seki-button variant="default">Click me</seki-button>
46
+ </template>
47
+
48
+ <script>
49
+ import { defineCustomElements } from '@sekiui/elements/loader';
50
+ defineCustomElements();
9
51
  </script>
52
+ ```
53
+
54
+ ## Development Setup
55
+
56
+ ### Prerequisites
57
+
58
+ - Node.js 20.x or later
59
+ - npm or yarn
60
+
61
+ ### Install Dependencies
62
+
63
+ ```bash
64
+ npm install
65
+ ```
66
+
67
+ ### Development Server
68
+
69
+ ```bash
70
+ npm start
71
+ ```
72
+
73
+ ### Build
74
+
75
+ ```bash
76
+ npm run build
77
+ ```
78
+
79
+ ### Storybook
80
+
81
+ ```bash
82
+ npm run storybook
83
+ ```
84
+
85
+ ### Version Management Tool
86
+
87
+ For accurate version comparison when creating releases, install the `semver` CLI globally:
88
+
89
+ ```bash
90
+ npm install -g semver
91
+ ```
92
+
93
+ The `semver` CLI is used by the release helper script to validate that new versions are greater than the latest published version. Without it, the script falls back to basic string comparison, which may not correctly handle pre-release versions.
94
+
95
+ **Why semver?**
96
+ - Accurate semantic version comparison (handles 1.0.0-beta.1 vs 1.0.0 correctly)
97
+ - Validates version ranges and constraints
98
+ - Official npm semver library
99
+
100
+ **Fallback behavior:**
101
+ If `semver` is not installed, the release script will warn you and ask for confirmation before proceeding with basic validation.
102
+
103
+ ## Releasing New Versions
104
+
105
+ ### Automated Release Process
106
+
107
+ SekiUI uses an automated npm publishing workflow that triggers when you push version tags to GitHub.
10
108
 
11
- <seki-card>
12
- <seki-button>Click me</seki-button>
13
- </seki-card>
109
+ #### Using the Release Helper Script (Recommended)
110
+
111
+ The easiest way to create a new release:
112
+
113
+ ```bash
114
+ npm run release
14
115
  ```
15
116
 
16
- ## Per-component imports
17
- ```js
18
- import "@sekiui/elements/button"; // defines <seki-button> only
117
+ **What the script does:**
118
+ 1. Fetches the latest published version from npm
119
+ 2. Prompts you for the new version number
120
+ 3. Validates that the new version is greater than the latest
121
+ 4. **Rejects versions that are less than or equal to the latest**
122
+ 5. Creates a git tag with 'v' prefix (e.g., v1.0.0)
123
+ 6. Pushes the tag to GitHub
124
+ 7. Triggers the automated publish workflow
125
+
126
+ **Example:**
127
+ ```bash
128
+ $ npm run release
129
+
130
+ 🚀 SekiUI Release Helper
131
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
132
+ 📡 Fetching latest version from npm registry...
133
+ ✓ Current latest version on npm: 0.1.1
134
+
135
+ Minimum allowed version: 0.1.2
136
+
137
+ Enter new version: 0.1.0
138
+ ❌ Error: Version 0.1.0 is not greater than current version 0.1.1
139
+ Minimum allowed version: 0.1.2
140
+
141
+ Enter new version: 0.2.0
142
+ ✓ Version 0.2.0 is valid (greater than 0.1.1)
143
+
144
+ 📝 Creating git tag: v0.2.0
145
+ ✓ Tag created locally
146
+
147
+ 🚀 Pushing tag to origin...
148
+
149
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
150
+ ✅ Success! Tag v0.2.0 pushed to GitHub
151
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
152
+
153
+ 📦 The GitHub Actions workflow will now:
154
+ 1. Build the project
155
+ 2. Run tests
156
+ 3. Publish to npm as version 0.2.0
157
+
158
+ 🔍 Monitor progress at:
159
+ https://github.com/YourOrg/SekiUI/actions
160
+ ```
161
+
162
+ #### Manual Tag Creation (Alternative)
163
+
164
+ If you prefer to create tags manually:
165
+
166
+ ```bash
167
+ # Create a tag with 'v' prefix
168
+ git tag v1.0.0
169
+
170
+ # Push the tag to GitHub
171
+ git push origin v1.0.0
19
172
  ```
20
173
 
21
- ## Theming
22
- Use CSS parts and custom properties (e.g. `part="button"`).
174
+ **Important:** Always use the 'v' prefix (e.g., v1.0.0, not 1.0.0). The workflow only triggers on tags matching `v*.*.*`.
175
+
176
+ ### Versioning Guidelines
177
+
178
+ Follow [Semantic Versioning](https://semver.org/):
179
+
180
+ - **MAJOR** (v2.0.0): Breaking changes, removed features, changed API
181
+ - **MINOR** (v1.1.0): New features, backward-compatible enhancements
182
+ - **PATCH** (v1.0.1): Bug fixes, documentation updates, internal refactors
183
+
184
+ **Pre-release versions:**
185
+ - Alpha: v1.0.0-alpha.1, v1.0.0-alpha.2, ...
186
+ - Beta: v1.0.0-beta.1, v1.0.0-beta.2, ...
187
+ - Release Candidate: v1.0.0-rc.1, v1.0.0-rc.2, ...
188
+
189
+ Pre-release versions are published with the `next` tag on npm and won't be installed by default.
190
+
191
+ ### What Happens After Pushing a Tag
192
+
193
+ The automated GitHub Actions workflow:
194
+
195
+ 1. ✅ **Validates NPM_TOKEN** - Fails fast if secret is missing
196
+ 2. 📦 **Installs dependencies** - Clean install with `npm ci`
197
+ 3. 🔢 **Extracts version** - Strips 'v' prefix from tag
198
+ 4. 🔄 **Syncs package.json** - Updates version to match tag
199
+ 5. 🏗️ **Builds project** - Compiles TypeScript and generates dist/
200
+ 6. ✅ **Validates build** - Ensures dist/ folder exists
201
+ 7. 🚀 **Publishes to npm** - Uploads to npm registry
202
+ 8. 🏷️ **Applies dist-tag** - Uses `latest` for stable, `next` for pre-releases
203
+
204
+ ### Monitoring Workflow Status
205
+
206
+ After pushing a tag:
207
+
208
+ 1. Go to the **Actions** tab in GitHub
209
+ 2. Find the "Publish to npm" workflow
210
+ 3. Click to view real-time logs
211
+ 4. Green checkmark = successful publish
212
+ 5. Red X = failure (check logs for details)
213
+
214
+ ### NPM_TOKEN Setup (First-Time Maintainers)
215
+
216
+ **One-time setup required before releasing:**
217
+
218
+ 1. **Generate npm token:**
219
+ - Log in to [npmjs.com](https://npmjs.com)
220
+ - Go to Account → Access Tokens
221
+ - Click "Generate New Token"
222
+ - Select **Automation** token type
223
+ - Copy the token (shown only once!)
224
+
225
+ 2. **Add token to GitHub:**
226
+ - Go to repository Settings → Secrets and variables → Actions
227
+ - Click "New repository secret"
228
+ - Name: `NPM_TOKEN`
229
+ - Value: Paste your npm token
230
+ - Click "Add secret"
231
+
232
+ 3. **Verify setup:**
233
+ - Create a test tag (e.g., v0.1.0-test.1)
234
+ - Push the tag
235
+ - Check GitHub Actions logs
236
+ - If successful, delete the test version from npm
237
+
238
+ ### Troubleshooting
239
+
240
+ **"NPM_TOKEN secret is not set"**
241
+ - Add NPM_TOKEN to repository secrets (see setup above)
242
+
243
+ **"You cannot publish over the previously published versions"**
244
+ - You're trying to publish a version that already exists
245
+ - Increment the version number and try again
246
+
247
+ **"Build did not generate dist/ folder"**
248
+ - Build failed due to TypeScript errors or configuration issues
249
+ - Fix the errors and create a new tag
250
+
251
+ **Tag pushed but workflow didn't run**
252
+ - Ensure tag matches pattern `v*.*.*` (with lowercase 'v')
253
+ - Check that workflow file exists in `.github/workflows/publish-npm.yml`
254
+
255
+ **Release script rejects valid version**
256
+ - Ensure `semver` CLI is installed: `npm install -g semver`
257
+ - Or proceed with basic validation (less accurate for pre-releases)
258
+
259
+ ## Contributing
260
+
261
+ 1. Fork the repository
262
+ 2. Create a feature branch (`git checkout -b feature/amazing-component`)
263
+ 3. Make your changes
264
+ 4. Run tests (`npm test`)
265
+ 5. Commit your changes (`git commit -m 'feat: add amazing component'`)
266
+ 6. Push to your branch (`git push origin feature/amazing-component`)
267
+ 7. Open a Pull Request
23
268
 
24
269
  ## License
25
- MIT
270
+
271
+ MIT © SekiUI Team
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ const globalScripts = () => {};
4
+
5
+ exports.globalScripts = globalScripts;
@@ -1,11 +1,10 @@
1
- const NAMESPACE = 'sekiui';
2
- const BUILD = /* sekiui */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true, watchCallback: false };
1
+ 'use strict';
3
2
 
4
- const globalScripts = () => {};
5
- const globalStyles = "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/* shadcn/ui design tokens */\n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n --secondary: 210 40% 96%;\n --secondary-foreground: 222.2 84% 4.9%;\n --muted: 210 40% 96%;\n --muted-foreground: 215.4 16.3% 46.9%;\n --accent: 210 40% 96%;\n --accent-foreground: 222.2 84% 4.9%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n --ring: 222.2 84% 4.9%;\n --radius: 0.5rem;\n }\n\n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n --ring: 212.7 26.8% 83.9%;\n }\n}\n\n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}";
3
+ const NAMESPACE = 'sekiui';
4
+ const BUILD = /* sekiui */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, updatable: true};
6
5
 
7
6
  /*
8
- Stencil Client Platform v4.37.1 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.38.0 | MIT Licensed | https://stenciljs.com
9
8
  */
10
9
  var __defProp = Object.defineProperty;
11
10
  var __export = (target, all) => {
@@ -30,13 +29,17 @@ var registerHost = (hostElement, cmpMeta) => {
30
29
  $flags$: 0,
31
30
  $hostElement$: hostElement,
32
31
  $cmpMeta$: cmpMeta,
33
- $instanceValues$: /* @__PURE__ */ new Map()
32
+ $instanceValues$: /* @__PURE__ */ new Map(),
33
+ $serializerValues$: /* @__PURE__ */ new Map()
34
34
  };
35
35
  {
36
36
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
37
37
  hostElement["s-p"] = [];
38
38
  hostElement["s-rc"] = [];
39
39
  }
40
+ {
41
+ hostRef.$fetchedCbList$ = [];
42
+ }
40
43
  const ref = hostRef;
41
44
  hostElement.__stencil__getHostRef = () => ref;
42
45
  return ref;
@@ -56,36 +59,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
56
59
  if (module) {
57
60
  return module[exportName];
58
61
  }
59
-
60
- if (!hmrVersionId || !BUILD.hotModuleReplacement) {
61
- const processMod = importedModule => {
62
- cmpModules.set(bundleId, importedModule);
63
- return importedModule[exportName];
64
- }
65
- switch(bundleId) {
66
-
67
- case 'seki-button':
68
- return import(
69
- /* webpackMode: "lazy" */
70
- './seki-button.entry.js').then(processMod, consoleError);
71
- case 'seki-card':
72
- return import(
73
- /* webpackMode: "lazy" */
74
- './seki-card.entry.js').then(processMod, consoleError);
75
- case 'seki-card-content':
76
- return import(
77
- /* webpackMode: "lazy" */
78
- './seki-card-content.entry.js').then(processMod, consoleError);
79
- case 'seki-card-header':
80
- return import(
81
- /* webpackMode: "lazy" */
82
- './seki-card-header.entry.js').then(processMod, consoleError);
83
- case 'seki-card-title':
84
- return import(
85
- /* webpackMode: "lazy" */
86
- './seki-card-title.entry.js').then(processMod, consoleError);
87
- }
88
- }
62
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
89
63
  return import(
90
64
  /* @vite-ignore */
91
65
  /* webpackInclude: /\.entry\.js$/ */
@@ -231,10 +205,7 @@ var unwrapErr = (result) => {
231
205
 
232
206
  // src/utils/style.ts
233
207
  function createStyleSheetIfNeededAndSupported(styles2) {
234
- if (!supportsConstructableStylesheets) return void 0;
235
- const sheet = new CSSStyleSheet();
236
- sheet.replaceSync(styles2);
237
- return sheet;
208
+ return void 0;
238
209
  }
239
210
 
240
211
  // src/utils/shadow-root.ts
@@ -242,7 +213,7 @@ var globalStyleSheet;
242
213
  function createShadowRoot(cmpMeta) {
243
214
  var _a;
244
215
  const shadowRoot = this.attachShadow({ mode: "open" });
245
- if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported(globalStyles)) != null ? _a : null;
216
+ if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
246
217
  if (globalStyleSheet) {
247
218
  if (supportsMutableAdoptedStyleSheets) {
248
219
  shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
@@ -802,6 +773,11 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
802
773
  }
803
774
  let maybePromise;
804
775
  if (isInitialLoad) {
776
+ {
777
+ if (hostRef.$fetchedCbList$.length) {
778
+ hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
779
+ }
780
+ }
805
781
  maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
806
782
  } else {
807
783
  maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
@@ -958,7 +934,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
958
934
  var proxyComponent = (Cstr, cmpMeta, flags) => {
959
935
  var _a, _b;
960
936
  const prototype = Cstr.prototype;
961
- if (cmpMeta.$members$ || BUILD.watchCallback) {
937
+ if (cmpMeta.$members$ || BUILD.propChangeCallback) {
962
938
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
963
939
  members.map(([memberName, [memberFlags]]) => {
964
940
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -992,8 +968,6 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
992
968
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
993
969
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
994
970
  newValue = ref.$instanceValues$.get(memberName);
995
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
996
- ref.$instanceValues$.set(memberName, currentValue);
997
971
  }
998
972
  origSetter.apply(this, [
999
973
  parsePropertyValue(
@@ -1008,7 +982,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1008
982
  if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1009
983
  setValue(this, memberName, newValue, cmpMeta);
1010
984
  if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1011
- ref.$onReadyPromise$.then(() => {
985
+ ref.$fetchedCbList$.push(() => {
1012
986
  if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1013
987
  ref.$lazyInstance$[memberName] = newValue;
1014
988
  }
@@ -1029,7 +1003,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1029
1003
  if (ref.$lazyInstance$) {
1030
1004
  setterSetVal();
1031
1005
  } else {
1032
- ref.$onReadyPromise$.then(() => setterSetVal());
1006
+ ref.$fetchedCbList$.push(() => {
1007
+ setterSetVal();
1008
+ });
1033
1009
  }
1034
1010
  }
1035
1011
  }
@@ -1042,14 +1018,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1042
1018
  plt.jmp(() => {
1043
1019
  var _a2;
1044
1020
  const propName = attrNameToPropName.get(attrName);
1021
+ const hostRef = getHostRef(this);
1045
1022
  if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1046
1023
  newValue = this[propName];
1047
1024
  delete this[propName];
1048
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1025
+ }
1026
+ if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1049
1027
  this[propName] == newValue) {
1050
1028
  return;
1051
1029
  } else if (propName == null) {
1052
- const hostRef = getHostRef(this);
1053
1030
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1054
1031
  if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1055
1032
  const instance = hostRef.$lazyInstance$ ;
@@ -1064,7 +1041,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1064
1041
  }
1065
1042
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1066
1043
  newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1067
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1044
+ if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
1068
1045
  this[propName] = newValue;
1069
1046
  }
1070
1047
  });
@@ -1174,7 +1151,7 @@ var connectedCallback = (elm) => {
1174
1151
  }
1175
1152
  if (cmpMeta.$members$) {
1176
1153
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1177
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1154
+ if (memberFlags & 31 /* Prop */ && memberName in elm && elm[memberName] !== Object.prototype[memberName]) {
1178
1155
  const value = elm[memberName];
1179
1156
  delete elm[memberName];
1180
1157
  elm[memberName] = value;
@@ -1352,7 +1329,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1352
1329
  // src/runtime/nonce.ts
1353
1330
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1354
1331
 
1355
- export { Host as H, bootstrapLazy as b, globalScripts as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
1356
- //# sourceMappingURL=index-3X8Wsgjr.js.map
1357
-
1358
- //# sourceMappingURL=index-3X8Wsgjr.js.map
1332
+ exports.bootstrapLazy = bootstrapLazy;
1333
+ exports.h = h;
1334
+ exports.promiseResolve = promiseResolve;
1335
+ exports.registerInstance = registerInstance;
1336
+ exports.setNonce = setNonce;
@@ -1,3 +1,2 @@
1
1
  'use strict';
2
2
 
3
- //# sourceMappingURL=index.cjs.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BxbILFLe.js');
3
+ var index = require('./index-6jIfEFyf.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
4
5
 
5
6
  const defineCustomElements = async (win, options) => {
6
7
  if (typeof window === 'undefined') return undefined;
7
- await index.globalScripts();
8
- return index.bootstrapLazy([["seki-button.cjs",[[257,"seki-button",{"variant":[1],"size":[1],"disabled":[4]}]]],["seki-card.cjs",[[257,"seki-card"]]],["seki-card-content.cjs",[[257,"seki-card-content"]]],["seki-card-header.cjs",[[257,"seki-card-header"]]],["seki-card-title.cjs",[[257,"seki-card-title"]]]], options);
8
+ await appGlobals.globalScripts();
9
+ return index.bootstrapLazy([["seki-button.cjs",[[257,"seki-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1]}]]]], options);
9
10
  };
10
11
 
11
12
  exports.setNonce = index.setNonce;
12
13
  exports.defineCustomElements = defineCustomElements;
13
- //# sourceMappingURL=loader.cjs.js.map
@@ -1,46 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BxbILFLe.js');
3
+ var index = require('./index-6jIfEFyf.js');
4
4
 
5
- const sekiButtonCss = "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n/* shadcn/ui design tokens */\n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n --secondary: 210 40% 96%;\n --secondary-foreground: 222.2 84% 4.9%;\n --muted: 210 40% 96%;\n --muted-foreground: 215.4 16.3% 46.9%;\n --accent: 210 40% 96%;\n --accent-foreground: 222.2 84% 4.9%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n --ring: 222.2 84% 4.9%;\n --radius: 0.5rem;\n }\n\n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n --ring: 212.7 26.8% 83.9%;\n }\n}\n\n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}";
5
+ const sekiButtonCss = ":root{--seki-neutral-50:hsl(0, 0%, 98%);--seki-neutral-100:hsl(0, 0%, 96%);--seki-neutral-200:hsl(0, 0%, 90%);--seki-neutral-300:hsl(0, 0%, 83%);--seki-neutral-400:hsl(0, 0%, 64%);--seki-neutral-500:hsl(0, 0%, 45%);--seki-neutral-600:hsl(0, 0%, 32%);--seki-neutral-700:hsl(0, 0%, 25%);--seki-neutral-800:hsl(0, 0%, 15%);--seki-neutral-900:hsl(0, 0%, 9%);--seki-neutral-950:hsl(0, 0%, 4%);--seki-primary-50:hsl(210, 100%, 97%);--seki-primary-100:hsl(210, 95%, 93%);--seki-primary-200:hsl(210, 95%, 85%);--seki-primary-300:hsl(210, 90%, 73%);--seki-primary-400:hsl(210, 85%, 58%);--seki-primary-500:hsl(210, 80%, 48%);--seki-primary-600:hsl(210, 75%, 40%);--seki-primary-700:hsl(210, 70%, 32%);--seki-primary-800:hsl(210, 65%, 25%);--seki-primary-900:hsl(210, 60%, 18%);--seki-primary-950:hsl(210, 55%, 10%);--seki-success-500:hsl(142, 71%, 45%);--seki-success-600:hsl(142, 71%, 35%);--seki-warning-500:hsl(38, 92%, 50%);--seki-warning-600:hsl(38, 92%, 40%);--seki-destructive-500:hsl(0, 72%, 51%);--seki-destructive-600:hsl(0, 72%, 41%)}:root{--seki-bg-primary:var(--seki-neutral-50);--seki-bg-secondary:var(--seki-neutral-100);--seki-bg-tertiary:var(--seki-neutral-200);--seki-text-primary:var(--seki-neutral-900);--seki-text-secondary:var(--seki-neutral-600);--seki-text-tertiary:var(--seki-neutral-400);--seki-border-default:var(--seki-neutral-200);--seki-border-emphasis:var(--seki-neutral-300);--seki-accent:var(--seki-primary-500);--seki-accent-emphasis:var(--seki-primary-600);--seki-success:var(--seki-success-500);--seki-warning:var(--seki-warning-500);--seki-destructive:var(--seki-destructive-500)}:root[data-theme='dark']{--seki-bg-primary:var(--seki-neutral-950);--seki-bg-secondary:var(--seki-neutral-900);--seki-bg-tertiary:var(--seki-neutral-800);--seki-text-primary:var(--seki-neutral-50);--seki-text-secondary:var(--seki-neutral-400);--seki-text-tertiary:var(--seki-neutral-600);--seki-border-default:var(--seki-neutral-800);--seki-border-emphasis:var(--seki-neutral-700);--seki-accent:var(--seki-primary-400);--seki-accent-emphasis:var(--seki-primary-300);}:root{--seki-button-primary-bg:var(--seki-accent);--seki-button-primary-text:var(--seki-neutral-50);--seki-button-primary-border:transparent;--seki-button-primary-hover-bg:var(--seki-accent-emphasis);--seki-button-primary-hover-border:transparent;--seki-button-secondary-bg:var(--seki-bg-secondary);--seki-button-secondary-text:var(--seki-text-primary);--seki-button-secondary-border:var(--seki-border-default);--seki-button-secondary-hover-bg:var(--seki-bg-tertiary);--seki-button-secondary-hover-border:var(--seki-border-emphasis);--seki-button-outline-bg:transparent;--seki-button-outline-text:var(--seki-accent);--seki-button-outline-border:var(--seki-accent);--seki-button-outline-hover-bg:var(--seki-accent);--seki-button-outline-hover-text:var(--seki-neutral-50);--seki-button-outline-hover-border:var(--seki-accent);--seki-button-ghost-bg:transparent;--seki-button-ghost-text:var(--seki-text-primary);--seki-button-ghost-border:transparent;--seki-button-ghost-hover-bg:var(--seki-bg-secondary);--seki-button-ghost-hover-border:transparent;--seki-button-destructive-bg:var(--seki-destructive);--seki-button-destructive-text:var(--seki-neutral-50);--seki-button-destructive-border:transparent;--seki-button-destructive-hover-bg:var(--seki-destructive-600);--seki-button-destructive-hover-border:transparent;--seki-button-sm-padding-x:var(--seki-spacing-3, 0.75rem);--seki-button-sm-padding-y:var(--seki-spacing-1-5, 0.375rem);--seki-button-sm-font-size:var(--seki-text-sm, 0.875rem);--seki-button-sm-height:2rem;--seki-button-md-padding-x:var(--seki-spacing-4, 1rem);--seki-button-md-padding-y:var(--seki-spacing-2, 0.5rem);--seki-button-md-font-size:var(--seki-text-base, 1rem);--seki-button-md-height:2.5rem;--seki-button-lg-padding-x:var(--seki-spacing-5, 1.25rem);--seki-button-lg-padding-y:var(--seki-spacing-2-5, 0.625rem);--seki-button-lg-font-size:var(--seki-text-lg, 1.125rem);--seki-button-lg-height:3rem;--seki-button-radius:var(--seki-radius-md, 0.375rem);--seki-button-font-weight:var(--seki-font-medium, 500);--seki-button-transition-duration:150ms;--seki-button-transition-timing:ease-in-out;--seki-button-shadow:var(--seki-shadow-sm, 0 1px 2px 0 rgb(0 0 0 / 0.05));--seki-button-shadow-hover:var(--seki-shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1));--seki-button-disabled-opacity:0.5}:root{--seki-spacing-0:0;--seki-spacing-0-5:0.125rem;--seki-spacing-1:0.25rem;--seki-spacing-1-5:0.375rem;--seki-spacing-2:0.5rem;--seki-spacing-2-5:0.625rem;--seki-spacing-3:0.75rem;--seki-spacing-3-5:0.875rem;--seki-spacing-4:1rem;--seki-spacing-5:1.25rem;--seki-spacing-6:1.5rem;--seki-spacing-8:2rem;--seki-spacing-10:2.5rem;--seki-spacing-12:3rem;--seki-spacing-16:4rem;--seki-spacing-20:5rem;--seki-spacing-24:6rem;}:root{--seki-shadow-sm:0 1px 2px 0 rgb(0 0 0 / 0.05);--seki-shadow-md:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--seki-shadow-lg:0 10px 15px -3px rgb(0 0 0 / 0.15), 0 4px 6px -4px rgb(0 0 0 / 0.1)}:root{--seki-font-sans:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',\n Arial, sans-serif;--seki-font-mono:ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;--seki-text-xs:0.75rem;--seki-text-sm:0.875rem;--seki-text-base:1rem;--seki-text-lg:1.125rem;--seki-text-xl:1.25rem;--seki-text-2xl:1.5rem;--seki-text-3xl:1.875rem;--seki-text-4xl:2.25rem;--seki-font-normal:400;--seki-font-medium:500;--seki-font-semibold:600;--seki-font-bold:700;--seki-leading-tight:1.25;--seki-leading-normal:1.5;--seki-leading-relaxed:1.75}:root{--seki-radius-sm:0.25rem;--seki-radius-md:0.375rem;--seki-radius-lg:0.5rem;--seki-radius-xl:1rem;}:host{display:inline-block}.button{font-family:var(--seki-font-sans);font-weight:var(--seki-button-font-weight);border-radius:var(--seki-button-radius);cursor:pointer;border:1px solid;transition:background-color var(--seki-button-transition-duration) var(--seki-button-transition-timing),\n border-color var(--seki-button-transition-duration) var(--seki-button-transition-timing),\n color var(--seki-button-transition-duration) var(--seki-button-transition-timing),\n box-shadow var(--seki-button-transition-duration) var(--seki-button-transition-timing);box-shadow:var(--seki-button-shadow)}.button:hover:not(:disabled){box-shadow:var(--seki-button-shadow-hover)}.button:focus-visible{outline:2px solid var(--seki-accent);outline-offset:2px}.button:disabled{opacity:var(--seki-button-disabled-opacity);cursor:not-allowed}.button--primary{background:var(--seki-button-primary-bg);color:var(--seki-button-primary-text);border-color:var(--seki-button-primary-border)}.button--primary:hover:not(:disabled){background:var(--seki-button-primary-hover-bg);border-color:var(--seki-button-primary-hover-border)}.button--secondary{background:var(--seki-button-secondary-bg);color:var(--seki-button-secondary-text);border-color:var(--seki-button-secondary-border)}.button--secondary:hover:not(:disabled){background:var(--seki-button-secondary-hover-bg);border-color:var(--seki-button-secondary-hover-border)}.button--outline{background:var(--seki-button-outline-bg);color:var(--seki-button-outline-text);border-color:var(--seki-button-outline-border)}.button--outline:hover:not(:disabled){background:var(--seki-button-outline-hover-bg);color:var(--seki-button-outline-hover-text);border-color:var(--seki-button-outline-hover-border)}.button--ghost{background:var(--seki-button-ghost-bg);color:var(--seki-button-ghost-text);border-color:var(--seki-button-ghost-border)}.button--ghost:hover:not(:disabled){background:var(--seki-button-ghost-hover-bg);border-color:var(--seki-button-ghost-hover-border)}.button--destructive{background:var(--seki-button-destructive-bg);color:var(--seki-button-destructive-text);border-color:var(--seki-button-destructive-border)}.button--destructive:hover:not(:disabled){background:var(--seki-button-destructive-hover-bg);border-color:var(--seki-button-destructive-hover-border)}.button--sm{padding:var(--seki-button-sm-padding-y) var(--seki-button-sm-padding-x);font-size:var(--seki-button-sm-font-size);height:var(--seki-button-sm-height)}.button--md{padding:var(--seki-button-md-padding-y) var(--seki-button-md-padding-x);font-size:var(--seki-button-md-font-size);height:var(--seki-button-md-height)}.button--lg{padding:var(--seki-button-lg-padding-y) var(--seki-button-lg-padding-x);font-size:var(--seki-button-lg-font-size);height:var(--seki-button-lg-height)}@media (prefers-reduced-motion: reduce){.button{transition:none}}";
6
6
 
7
7
  const SekiButton = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
- this.variant = 'default';
11
- this.size = 'default';
10
+ this.variant = 'primary';
11
+ this.size = 'md';
12
12
  this.disabled = false;
13
- }
14
- getVariantClasses() {
15
- const variants = {
16
- default: 'bg-primary text-primary-foreground hover:bg-primary/90',
17
- destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
18
- outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
19
- secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
20
- ghost: 'hover:bg-accent hover:text-accent-foreground',
21
- link: 'text-primary underline-offset-4 hover:underline',
22
- };
23
- return variants[this.variant];
24
- }
25
- getSizeClasses() {
26
- const sizes = {
27
- default: 'h-10 px-4 py-2',
28
- sm: 'h-9 rounded-md px-3',
29
- lg: 'h-11 rounded-md px-8',
30
- icon: 'h-10 w-10',
31
- };
32
- return sizes[this.size];
13
+ this.type = 'button';
33
14
  }
34
15
  render() {
35
- const classes = [
36
- 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',
37
- this.getVariantClasses(),
38
- this.getSizeClasses(),
39
- ].join(' ');
40
- return (index.h(index.Host, { key: 'c4ee82237138aa7199fda3fac536d3d0e4f93177' }, index.h("button", { key: '4705d51d384092e63d902db3d59bd79866eb105d', class: classes, disabled: this.disabled, part: "button" }, index.h("slot", { key: 'b0e5909326c0e23fd0b611411eaa0b402c90cee3' }))));
16
+ return (index.h("button", { key: '0a0740566a19505743488924d3971f75cf086ab8', class: `button button--${this.variant} button--${this.size}`, type: this.type, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null }, index.h("slot", { key: '6c715e7b707efb6dffc4b88773d7ea63c510f305' })));
41
17
  }
42
18
  };
43
19
  SekiButton.style = sekiButtonCss;
44
20
 
45
21
  exports.seki_button = SekiButton;
46
- //# sourceMappingURL=seki-button.entry.cjs.js.map
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BxbILFLe.js');
3
+ var index = require('./index-6jIfEFyf.js');
4
+ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
4
5
 
5
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
7
  /*
7
- Stencil Client Patch Browser v4.37.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.38.0 | MIT Licensed | https://stenciljs.com
8
9
  */
9
10
 
10
11
  var patchBrowser = () => {
@@ -17,9 +18,8 @@ var patchBrowser = () => {
17
18
  };
18
19
 
19
20
  patchBrowser().then(async (options) => {
20
- await index.globalScripts();
21
- return index.bootstrapLazy([["seki-button.cjs",[[257,"seki-button",{"variant":[1],"size":[1],"disabled":[4]}]]],["seki-card.cjs",[[257,"seki-card"]]],["seki-card-content.cjs",[[257,"seki-card-content"]]],["seki-card-header.cjs",[[257,"seki-card-header"]]],["seki-card-title.cjs",[[257,"seki-card-title"]]]], options);
21
+ await appGlobals.globalScripts();
22
+ return index.bootstrapLazy([["seki-button.cjs",[[257,"seki-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1]}]]]], options);
22
23
  });
23
24
 
24
25
  exports.setNonce = index.setNonce;
25
- //# sourceMappingURL=sekiui.cjs.js.map
@@ -1,14 +1,10 @@
1
1
  {
2
2
  "entries": [
3
- "components/seki-button/seki-button.js",
4
- "components/seki-card/seki-card.js",
5
- "components/seki-card-content/seki-card-content.js",
6
- "components/seki-card-header/seki-card-header.js",
7
- "components/seki-card-title/seki-card-title.js"
3
+ "components/button/seki-button.js"
8
4
  ],
9
5
  "compiler": {
10
6
  "name": "@stencil/core",
11
- "version": "4.37.1",
7
+ "version": "4.38.0",
12
8
  "typescriptVersion": "5.5.4"
13
9
  },
14
10
  "collections": [],