@melodicdev/components 1.0.1 → 1.0.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.
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Bundle entry point — imports every component to trigger custom element registration.
3
+ * Used to build assets/melodic-components.js for CDN / script-tag usage.
4
+ *
5
+ * All theme functions, utilities, and services are also exported so they remain
6
+ * available when using the bundle programmatically:
7
+ *
8
+ * import { applyTheme, ToastService } from '.../melodic-components.js';
9
+ */
10
+ export * from './theme/index.js';
11
+ export * from './utils/index.js';
12
+ export * from './functions/index.js';
13
+ export * from './directives/index.js';
14
+ export * from './components/forms/button/index.js';
15
+ export * from './components/forms/button-group/index.js';
16
+ export * from './components/forms/input/index.js';
17
+ export * from './components/forms/textarea/index.js';
18
+ export * from './components/forms/checkbox/index.js';
19
+ export * from './components/forms/radio/index.js';
20
+ export * from './components/forms/radio-card-group/index.js';
21
+ export * from './components/forms/toggle/index.js';
22
+ export * from './components/forms/select/index.js';
23
+ export * from './components/forms/slider/index.js';
24
+ export * from './components/forms/form-field/index.js';
25
+ export * from './components/forms/date-picker/index.js';
26
+ export * from './components/feedback/spinner/index.js';
27
+ export * from './components/feedback/alert/index.js';
28
+ export * from './components/feedback/toast/index.js';
29
+ export * from './components/feedback/progress/index.js';
30
+ export * from './components/foundation/card/index.js';
31
+ export * from './components/foundation/divider/index.js';
32
+ export * from './components/foundation/stack/index.js';
33
+ export * from './components/foundation/container/index.js';
34
+ export * from './components/data-display/avatar/index.js';
35
+ export * from './components/data-display/badge/index.js';
36
+ export * from './components/data-display/badge-group/index.js';
37
+ export * from './components/data-display/tag/index.js';
38
+ export * from './components/data-display/list/index.js';
39
+ export * from './components/data-display/activity-feed/index.js';
40
+ export * from './components/data-display/table/index.js';
41
+ export * from './components/data-display/data-grid/index.js';
42
+ export * from './components/data-display/calendar-view/index.js';
43
+ export * from './components/general/icon/index.js';
44
+ export * from './components/navigation/tabs/index.js';
45
+ export * from './components/navigation/breadcrumb/index.js';
46
+ export * from './components/navigation/pagination/index.js';
47
+ export * from './components/navigation/sidebar/index.js';
48
+ export * from './components/navigation/steps/index.js';
49
+ export * from './components/overlays/dialog/index.js';
50
+ export * from './components/overlays/drawer/index.js';
51
+ export * from './components/overlays/dropdown/index.js';
52
+ export * from './components/overlays/tooltip/index.js';
53
+ export * from './components/overlays/popover/index.js';
54
+ export * from './components/sections/app-shell/index.js';
55
+ export * from './components/sections/hero/index.js';
56
+ export * from './components/sections/page-header/index.js';
57
+ export * from './components/pages/auth/index.js';
58
+ export * from './components/pages/dashboard/index.js';
59
+ //# sourceMappingURL=bundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../src/bundle.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,oCAAoC,CAAC;AACnD,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,mCAAmC,CAAC;AAClD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AAGxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,yCAAyC,CAAC;AAGxD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,4CAA4C,CAAC;AAG3D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AAGjE,cAAc,oCAAoC,CAAC;AAGnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AAGvD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AAGvD,cAAc,0CAA0C,CAAC;AACzD,cAAc,qCAAqC,CAAC;AACpD,cAAc,4CAA4C,CAAC;AAG3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC"}
package/lib/bundle.js ADDED
@@ -0,0 +1,68 @@
1
+ /**
2
+ * Bundle entry point — imports every component to trigger custom element registration.
3
+ * Used to build assets/melodic-components.js for CDN / script-tag usage.
4
+ *
5
+ * All theme functions, utilities, and services are also exported so they remain
6
+ * available when using the bundle programmatically:
7
+ *
8
+ * import { applyTheme, ToastService } from '.../melodic-components.js';
9
+ */
10
+ // Theme, utilities, functions, directives
11
+ export * from './theme/index.js';
12
+ export * from './utils/index.js';
13
+ export * from './functions/index.js';
14
+ export * from './directives/index.js';
15
+ // Forms
16
+ export * from './components/forms/button/index.js';
17
+ export * from './components/forms/button-group/index.js';
18
+ export * from './components/forms/input/index.js';
19
+ export * from './components/forms/textarea/index.js';
20
+ export * from './components/forms/checkbox/index.js';
21
+ export * from './components/forms/radio/index.js';
22
+ export * from './components/forms/radio-card-group/index.js';
23
+ export * from './components/forms/toggle/index.js';
24
+ export * from './components/forms/select/index.js';
25
+ export * from './components/forms/slider/index.js';
26
+ export * from './components/forms/form-field/index.js';
27
+ export * from './components/forms/date-picker/index.js';
28
+ // Feedback
29
+ export * from './components/feedback/spinner/index.js';
30
+ export * from './components/feedback/alert/index.js';
31
+ export * from './components/feedback/toast/index.js';
32
+ export * from './components/feedback/progress/index.js';
33
+ // Foundation
34
+ export * from './components/foundation/card/index.js';
35
+ export * from './components/foundation/divider/index.js';
36
+ export * from './components/foundation/stack/index.js';
37
+ export * from './components/foundation/container/index.js';
38
+ // Data Display
39
+ export * from './components/data-display/avatar/index.js';
40
+ export * from './components/data-display/badge/index.js';
41
+ export * from './components/data-display/badge-group/index.js';
42
+ export * from './components/data-display/tag/index.js';
43
+ export * from './components/data-display/list/index.js';
44
+ export * from './components/data-display/activity-feed/index.js';
45
+ export * from './components/data-display/table/index.js';
46
+ export * from './components/data-display/data-grid/index.js';
47
+ export * from './components/data-display/calendar-view/index.js';
48
+ // General
49
+ export * from './components/general/icon/index.js';
50
+ // Navigation
51
+ export * from './components/navigation/tabs/index.js';
52
+ export * from './components/navigation/breadcrumb/index.js';
53
+ export * from './components/navigation/pagination/index.js';
54
+ export * from './components/navigation/sidebar/index.js';
55
+ export * from './components/navigation/steps/index.js';
56
+ // Overlays
57
+ export * from './components/overlays/dialog/index.js';
58
+ export * from './components/overlays/drawer/index.js';
59
+ export * from './components/overlays/dropdown/index.js';
60
+ export * from './components/overlays/tooltip/index.js';
61
+ export * from './components/overlays/popover/index.js';
62
+ // Sections
63
+ export * from './components/sections/app-shell/index.js';
64
+ export * from './components/sections/hero/index.js';
65
+ export * from './components/sections/page-header/index.js';
66
+ // Pages
67
+ export * from './components/pages/auth/index.js';
68
+ export * from './components/pages/dashboard/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melodicdev/components",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Themeable UI component library built on the Melodic Framework",
5
5
  "license": "MIT",
6
6
  "author": "Melodic Development",
@@ -181,6 +181,10 @@
181
181
  "types": "./lib/components/forms/radio-card-group/index.d.ts",
182
182
  "default": "./lib/components/forms/radio-card-group/index.js"
183
183
  },
184
+ "./select": {
185
+ "types": "./lib/components/forms/select/index.d.ts",
186
+ "default": "./lib/components/forms/select/index.js"
187
+ },
184
188
  "./sidebar": {
185
189
  "types": "./lib/components/navigation/sidebar/index.d.ts",
186
190
  "default": "./lib/components/navigation/sidebar/index.js"
@@ -235,7 +239,7 @@
235
239
  }
236
240
  },
237
241
  "scripts": {
238
- "build": "tsc -p tsconfig.build.json",
242
+ "build": "tsc -p tsconfig.build.json && node scripts/generate-css.mjs && vite build --config vite.config.bundle.ts --mode development && vite build --config vite.config.bundle.ts --mode production",
239
243
  "build:watch": "tsc -p tsconfig.build.json --watch",
240
244
  "prepublishOnly": "npm run build",
241
245
  "docs": "vite --config vite.config.docs.ts",