@melodicdev/components 1.6.0 → 1.6.1
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/assets/melodic-components.js +112 -44
- package/assets/melodic-components.js.map +1 -1
- package/assets/melodic-components.min.js +1185 -1128
- package/lib/components/data-display/table/table.styles.d.ts.map +1 -1
- package/lib/components/data-display/table/table.styles.js +18 -7
- package/package.json +1 -1
- package/lib/bundle.d.ts +0 -59
- package/lib/bundle.d.ts.map +0 -1
- package/lib/bundle.js +0 -68
- package/lib/components/data-display/empty-state/index.d.ts +0 -2
- package/lib/components/data-display/empty-state/index.d.ts.map +0 -1
- package/lib/components/data-display/empty-state/index.js +0 -2
- package/lib/components/data-display/stat/index.d.ts +0 -2
- package/lib/components/data-display/stat/index.d.ts.map +0 -1
- package/lib/components/data-display/stat/index.js +0 -2
- package/lib/components/feedback/skeleton/index.d.ts +0 -2
- package/lib/components/feedback/skeleton/index.d.ts.map +0 -1
- package/lib/components/feedback/skeleton/index.js +0 -2
- package/lib/components/foundation/grid/index.d.ts +0 -2
- package/lib/components/foundation/grid/index.d.ts.map +0 -1
- package/lib/components/foundation/grid/index.js +0 -2
- package/lib/components/general/icon/fonts/phosphor/bold/Phosphor-Bold.svg +0 -3057
- package/lib/components/general/icon/fonts/phosphor/bold/Phosphor-Bold.ttf +0 -0
- package/lib/components/general/icon/fonts/phosphor/bold/Phosphor-Bold.woff +0 -0
- package/lib/components/general/icon/fonts/phosphor/bold/Phosphor-Bold.woff2 +0 -0
- package/lib/components/general/icon/fonts/phosphor/bold/style.css +0 -4627
- package/lib/components/general/icon/fonts/phosphor/duotone/Phosphor-Duotone.svg +0 -3054
- package/lib/components/general/icon/fonts/phosphor/duotone/Phosphor-Duotone.ttf +0 -0
- package/lib/components/general/icon/fonts/phosphor/duotone/Phosphor-Duotone.woff +0 -0
- package/lib/components/general/icon/fonts/phosphor/duotone/Phosphor-Duotone.woff2 +0 -0
- package/lib/components/general/icon/fonts/phosphor/duotone/style.css +0 -12115
- package/lib/components/general/icon/fonts/phosphor/fill/Phosphor-Fill.svg +0 -3057
- package/lib/components/general/icon/fonts/phosphor/fill/Phosphor-Fill.ttf +0 -0
- package/lib/components/general/icon/fonts/phosphor/fill/Phosphor-Fill.woff +0 -0
- package/lib/components/general/icon/fonts/phosphor/fill/Phosphor-Fill.woff2 +0 -0
- package/lib/components/general/icon/fonts/phosphor/fill/style.css +0 -4627
- package/lib/components/general/icon/fonts/phosphor/light/Phosphor-Light.svg +0 -3057
- package/lib/components/general/icon/fonts/phosphor/light/Phosphor-Light.ttf +0 -0
- package/lib/components/general/icon/fonts/phosphor/light/Phosphor-Light.woff +0 -0
- package/lib/components/general/icon/fonts/phosphor/light/Phosphor-Light.woff2 +0 -0
- package/lib/components/general/icon/fonts/phosphor/light/style.css +0 -4627
- package/lib/components/general/icon/fonts/phosphor/regular/Phosphor.svg +0 -3056
- package/lib/components/general/icon/fonts/phosphor/regular/Phosphor.ttf +0 -0
- package/lib/components/general/icon/fonts/phosphor/regular/Phosphor.woff +0 -0
- package/lib/components/general/icon/fonts/phosphor/regular/Phosphor.woff2 +0 -0
- package/lib/components/general/icon/fonts/phosphor/regular/style.css +0 -4627
- package/lib/components/general/icon/fonts/phosphor/thin/Phosphor-Thin.svg +0 -3057
- package/lib/components/general/icon/fonts/phosphor/thin/Phosphor-Thin.ttf +0 -0
- package/lib/components/general/icon/fonts/phosphor/thin/Phosphor-Thin.woff +0 -0
- package/lib/components/general/icon/fonts/phosphor/thin/Phosphor-Thin.woff2 +0 -0
- package/lib/components/general/icon/fonts/phosphor/thin/style.css +0 -4627
- package/lib/components/general/icon/icon.registry.d.ts +0 -32
- package/lib/components/general/icon/icon.registry.d.ts.map +0 -1
- package/lib/components/general/icon/icon.registry.js +0 -45
- package/lib/components/general/icon/icon.types.d.ts +0 -8
- package/lib/components/general/icon/icon.types.d.ts.map +0 -1
- package/lib/components/general/icon/icon.types.js +0 -1
- package/lib/components/general/icon/phosphor-fonts.d.ts +0 -12
- package/lib/components/general/icon/phosphor-fonts.d.ts.map +0 -1
- package/lib/components/general/icon/phosphor-fonts.js +0 -77
- package/lib/components/general/icon/phosphor.d.ts +0 -41
- package/lib/components/general/icon/phosphor.d.ts.map +0 -1
- package/lib/components/general/icon/phosphor.js +0 -42
- package/lib/components/overlays/modal/index.d.ts +0 -2
- package/lib/components/overlays/modal/index.d.ts.map +0 -1
- package/lib/components/overlays/modal/index.js +0 -2
- package/lib/forms-adapters.d.ts +0 -2
- package/lib/forms-adapters.d.ts.map +0 -1
- package/lib/forms-adapters.js +0 -105
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/table/table.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"table.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/table/table.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,iDAuSvB,CAAC"}
|
|
@@ -5,10 +5,21 @@ export const tableStyles = () => css `
|
|
|
5
5
|
|
|
6
6
|
/* ── Table: surface ── */
|
|
7
7
|
--ml-table-bg: var(--ml-color-surface);
|
|
8
|
+
--ml-table-font: var(--ml-font-sans);
|
|
9
|
+
|
|
10
|
+
/* Deprecated aliases — prefer container-* and divider-* tokens below */
|
|
8
11
|
--ml-table-border-width: var(--ml-border);
|
|
9
12
|
--ml-table-border-color: var(--ml-color-border);
|
|
10
13
|
--ml-table-radius: var(--ml-radius-lg);
|
|
11
|
-
|
|
14
|
+
|
|
15
|
+
/* ── Table: container chrome (outer border + radius) ── */
|
|
16
|
+
--ml-table-container-border-width: var(--ml-table-border-width);
|
|
17
|
+
--ml-table-container-border-color: var(--ml-table-border-color);
|
|
18
|
+
--ml-table-container-radius: var(--ml-table-radius);
|
|
19
|
+
|
|
20
|
+
/* ── Table: internal dividers (header/row/footer separators) ── */
|
|
21
|
+
--ml-table-divider-width: var(--ml-table-border-width);
|
|
22
|
+
--ml-table-divider-color: var(--ml-table-border-color);
|
|
12
23
|
|
|
13
24
|
/* ── Table: header section ── */
|
|
14
25
|
--ml-table-title-color: var(--ml-color-text);
|
|
@@ -42,8 +53,8 @@ export const tableStyles = () => css `
|
|
|
42
53
|
}
|
|
43
54
|
|
|
44
55
|
.ml-table {
|
|
45
|
-
border: var(--ml-table-border-width) solid var(--ml-table-border-color);
|
|
46
|
-
border-radius: var(--ml-table-radius);
|
|
56
|
+
border: var(--ml-table-container-border-width) solid var(--ml-table-container-border-color);
|
|
57
|
+
border-radius: var(--ml-table-container-radius);
|
|
47
58
|
background-color: var(--ml-table-bg);
|
|
48
59
|
overflow: hidden;
|
|
49
60
|
font-family: var(--ml-table-font);
|
|
@@ -56,7 +67,7 @@ export const tableStyles = () => css `
|
|
|
56
67
|
justify-content: space-between;
|
|
57
68
|
gap: var(--ml-space-4);
|
|
58
69
|
padding: var(--ml-space-5) var(--ml-space-6);
|
|
59
|
-
border-bottom: var(--ml-table-
|
|
70
|
+
border-bottom: var(--ml-table-divider-width) solid var(--ml-table-divider-color);
|
|
60
71
|
}
|
|
61
72
|
|
|
62
73
|
.ml-table__header-text {
|
|
@@ -103,7 +114,7 @@ export const tableStyles = () => css `
|
|
|
103
114
|
}
|
|
104
115
|
|
|
105
116
|
thead tr {
|
|
106
|
-
border-bottom: var(--ml-table-
|
|
117
|
+
border-bottom: var(--ml-table-divider-width) solid var(--ml-table-divider-color);
|
|
107
118
|
}
|
|
108
119
|
|
|
109
120
|
.ml-table__th {
|
|
@@ -157,7 +168,7 @@ export const tableStyles = () => css `
|
|
|
157
168
|
|
|
158
169
|
/* ── Body rows ── */
|
|
159
170
|
.ml-table__row {
|
|
160
|
-
border-bottom: var(--ml-table-
|
|
171
|
+
border-bottom: var(--ml-table-divider-width) solid var(--ml-table-divider-color);
|
|
161
172
|
transition: background-color var(--ml-duration-150) var(--ml-ease-in-out);
|
|
162
173
|
}
|
|
163
174
|
|
|
@@ -277,7 +288,7 @@ export const tableStyles = () => css `
|
|
|
277
288
|
align-items: center;
|
|
278
289
|
justify-content: space-between;
|
|
279
290
|
padding: var(--ml-space-3) var(--ml-space-6);
|
|
280
|
-
border-top: var(--ml-table-
|
|
291
|
+
border-top: var(--ml-table-divider-width) solid var(--ml-table-divider-color);
|
|
281
292
|
}
|
|
282
293
|
|
|
283
294
|
.ml-table--sm .ml-table__footer--visible {
|
package/package.json
CHANGED
package/lib/bundle.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
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
|
package/lib/bundle.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../src/bundle.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,cAAc,kBAAkB,CAAC;AACjC,cAAc,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Ac,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC"}
|
package/lib/bundle.js
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
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';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/empty-state/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,UAAU,IAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data-display/stat/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,IAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/skeleton/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ,IAAK,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/foundation/grid/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,IAAK,CAAC"}
|