@spectrum-web-components/divider 1.12.0-testing.20260223092154 → 1.12.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.
@@ -17,6 +17,88 @@
17
17
  }
18
18
  ]
19
19
  },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/Divider.base.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "class",
26
+ "description": "A divider separates and distinguishes sections of content or groups of menu items.",
27
+ "name": "DividerBase",
28
+ "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "vertical",
32
+ "type": {
33
+ "text": "boolean"
34
+ },
35
+ "privacy": "public",
36
+ "default": "false",
37
+ "description": "Whether the divider is vertical. If false, the divider is horizontal. The default is false.",
38
+ "attribute": "vertical",
39
+ "reflects": true
40
+ },
41
+ {
42
+ "kind": "field",
43
+ "name": "staticColor",
44
+ "type": {
45
+ "text": "DividerStaticColor | undefined"
46
+ },
47
+ "privacy": "public",
48
+ "description": "The static color variant to use for the divider.",
49
+ "attribute": "static-color",
50
+ "reflects": true
51
+ }
52
+ ],
53
+ "attributes": [
54
+ {
55
+ "type": {
56
+ "text": "ElementSize"
57
+ },
58
+ "description": "The size of the divider.",
59
+ "name": "size"
60
+ },
61
+ {
62
+ "name": "vertical",
63
+ "type": {
64
+ "text": "boolean"
65
+ },
66
+ "default": "false",
67
+ "description": "Whether the divider is vertical. If false, the divider is horizontal. The default is false.",
68
+ "fieldName": "vertical"
69
+ },
70
+ {
71
+ "name": "static-color",
72
+ "type": {
73
+ "text": "DividerStaticColor | undefined"
74
+ },
75
+ "description": "The static color variant to use for the divider.",
76
+ "fieldName": "staticColor"
77
+ }
78
+ ],
79
+ "mixins": [
80
+ {
81
+ "name": "SizedMixin",
82
+ "package": "@spectrum-web-components/base/src/sizedMixin.js"
83
+ }
84
+ ],
85
+ "superclass": {
86
+ "name": "SpectrumElement",
87
+ "package": "@spectrum-web-components/base"
88
+ }
89
+ }
90
+ ],
91
+ "exports": [
92
+ {
93
+ "kind": "js",
94
+ "name": "DividerBase",
95
+ "declaration": {
96
+ "name": "DividerBase",
97
+ "module": "src/Divider.base.js"
98
+ }
99
+ }
100
+ ]
101
+ },
20
102
  {
21
103
  "kind": "javascript-module",
22
104
  "path": "src/Divider.js",
@@ -25,13 +107,83 @@
25
107
  "kind": "class",
26
108
  "description": "",
27
109
  "name": "Divider",
28
- "members": [],
110
+ "members": [
111
+ {
112
+ "kind": "field",
113
+ "name": "vertical",
114
+ "type": {
115
+ "text": "boolean"
116
+ },
117
+ "privacy": "public",
118
+ "default": "false",
119
+ "description": "Whether the divider is vertical. If false, the divider is horizontal. The default is false.",
120
+ "attribute": "vertical",
121
+ "reflects": true,
122
+ "inheritedFrom": {
123
+ "name": "DividerBase",
124
+ "module": "src/Divider.base.js"
125
+ }
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "staticColor",
130
+ "type": {
131
+ "text": "DividerStaticColor | undefined"
132
+ },
133
+ "privacy": "public",
134
+ "description": "The static color variant to use for the divider.",
135
+ "attribute": "static-color",
136
+ "reflects": true,
137
+ "inheritedFrom": {
138
+ "name": "DividerBase",
139
+ "module": "src/Divider.base.js"
140
+ }
141
+ }
142
+ ],
29
143
  "superclass": {
30
144
  "name": "DividerBase",
31
- "package": "@spectrum-web-components/core/components/divider"
145
+ "module": "/src/Divider.base.js"
32
146
  },
33
147
  "tagName": "sp-divider",
34
- "customElement": true
148
+ "customElement": true,
149
+ "attributes": [
150
+ {
151
+ "type": {
152
+ "text": "ElementSize"
153
+ },
154
+ "description": "The size of the divider.",
155
+ "name": "size",
156
+ "inheritedFrom": {
157
+ "name": "DividerBase",
158
+ "module": "src/Divider.base.ts"
159
+ }
160
+ },
161
+ {
162
+ "name": "vertical",
163
+ "type": {
164
+ "text": "boolean"
165
+ },
166
+ "default": "false",
167
+ "description": "Whether the divider is vertical. If false, the divider is horizontal. The default is false.",
168
+ "fieldName": "vertical",
169
+ "inheritedFrom": {
170
+ "name": "DividerBase",
171
+ "module": "src/Divider.base.ts"
172
+ }
173
+ },
174
+ {
175
+ "name": "static-color",
176
+ "type": {
177
+ "text": "DividerStaticColor | undefined"
178
+ },
179
+ "description": "The static color variant to use for the divider.",
180
+ "fieldName": "staticColor",
181
+ "inheritedFrom": {
182
+ "name": "DividerBase",
183
+ "module": "src/Divider.base.ts"
184
+ }
185
+ }
186
+ ]
35
187
  }
36
188
  ],
37
189
  "exports": [
@@ -44,6 +196,40 @@
44
196
  }
45
197
  }
46
198
  ]
199
+ },
200
+ {
201
+ "kind": "javascript-module",
202
+ "path": "src/Divider.types.js",
203
+ "declarations": [
204
+ {
205
+ "kind": "variable",
206
+ "name": "DIVIDER_VALID_SIZES",
207
+ "default": "[ 's', 'm', 'l', ] as const satisfies readonly ElementSize[]"
208
+ },
209
+ {
210
+ "kind": "variable",
211
+ "name": "DIVIDER_STATIC_COLORS",
212
+ "default": "[ 'white', 'black', ] as const satisfies readonly string[]"
213
+ }
214
+ ],
215
+ "exports": [
216
+ {
217
+ "kind": "js",
218
+ "name": "DIVIDER_VALID_SIZES",
219
+ "declaration": {
220
+ "name": "DIVIDER_VALID_SIZES",
221
+ "module": "src/Divider.types.js"
222
+ }
223
+ },
224
+ {
225
+ "kind": "js",
226
+ "name": "DIVIDER_STATIC_COLORS",
227
+ "declaration": {
228
+ "name": "DIVIDER_STATIC_COLORS",
229
+ "module": "src/Divider.types.js"
230
+ }
231
+ }
232
+ ]
47
233
  }
48
234
  ]
49
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/divider",
3
- "version": "1.12.0-testing.20260223092154",
3
+ "version": "1.12.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Adobe",
@@ -16,23 +16,23 @@
16
16
  "type": "module",
17
17
  "exports": {
18
18
  ".": {
19
- "default": "./src/index.js",
20
- "development": "./src/index.dev.js"
19
+ "development": "./src/index.dev.js",
20
+ "default": "./src/index.js"
21
21
  },
22
22
  "./package.json": "./package.json",
23
23
  "./sp-divider.js": {
24
- "default": "./sp-divider.js",
25
- "development": "./sp-divider.dev.js"
24
+ "development": "./sp-divider.dev.js",
25
+ "default": "./sp-divider.js"
26
26
  },
27
27
  "./src/Divider.js": {
28
- "default": "./src/Divider.js",
29
- "development": "./src/Divider.dev.js"
28
+ "development": "./src/Divider.dev.js",
29
+ "default": "./src/Divider.js"
30
30
  },
31
31
  "./src/divider-overrides.css.js": "./src/divider-overrides.css.js",
32
32
  "./src/divider.css.js": "./src/divider.css.js",
33
33
  "./src/index.js": {
34
- "default": "./src/index.js",
35
- "development": "./src/index.dev.js"
34
+ "development": "./src/index.dev.js",
35
+ "default": "./src/index.js"
36
36
  }
37
37
  },
38
38
  "main": "./src/index.js",
@@ -55,8 +55,7 @@
55
55
  ],
56
56
  "types": "./src/index.d.ts",
57
57
  "dependencies": {
58
- "@spectrum-web-components/base": "1.12.0-testing.20260223092154",
59
- "@spectrum-web-components/core": "0.0.5-testing.20260223092154"
58
+ "@spectrum-web-components/base": "1.12.0"
60
59
  },
61
60
  "keywords": [
62
61
  "design-system",
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ import { PropertyValues, SpectrumElement } from '@spectrum-web-components/base';
13
+ import { type DividerStaticColor } from './Divider.types.js';
14
+ declare const DividerBase_base: typeof SpectrumElement & import("@spectrum-web-components/base").Constructor<import("@spectrum-web-components/base").SizedElementInterface> & import("@spectrum-web-components/base").SizedElementConstructor;
15
+ /**
16
+ * A divider separates and distinguishes sections of content or groups of menu items.
17
+ *
18
+ * @attribute {ElementSize} size - The size of the divider.
19
+ */
20
+ export declare abstract class DividerBase extends DividerBase_base {
21
+ /**
22
+ * @internal
23
+ *
24
+ * A readonly array of the valid static color variants for the divider.
25
+ */
26
+ static readonly STATIC_COLORS: readonly string[];
27
+ /**
28
+ * Whether the divider is vertical. If false, the divider is horizontal. The default is false.
29
+ */
30
+ vertical: boolean;
31
+ /**
32
+ * The static color variant to use for the divider.
33
+ */
34
+ staticColor?: DividerStaticColor;
35
+ protected firstUpdated(changed: PropertyValues<this>): void;
36
+ protected updated(changed: PropertyValues<this>): void;
37
+ }
38
+ export {};
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __decorateClass = (decorators, target, key, kind) => {
5
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
7
+ if (decorator = decorators[i])
8
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
9
+ if (kind && result) __defProp(target, key, result);
10
+ return result;
11
+ };
12
+ import { SpectrumElement } from "@spectrum-web-components/base";
13
+ import { property } from "@spectrum-web-components/base/src/decorators.js";
14
+ import { SizedMixin } from "@spectrum-web-components/base/src/sizedMixin.js";
15
+ import {
16
+ DIVIDER_STATIC_COLORS,
17
+ DIVIDER_VALID_SIZES
18
+ } from "./Divider.types.dev.js";
19
+ export class DividerBase extends SizedMixin(SpectrumElement, {
20
+ validSizes: DIVIDER_VALID_SIZES,
21
+ noDefaultSize: true
22
+ }) {
23
+ constructor() {
24
+ super(...arguments);
25
+ this.vertical = false;
26
+ }
27
+ // ──────────────────────
28
+ // IMPLEMENTATION
29
+ // ──────────────────────
30
+ firstUpdated(changed) {
31
+ super.firstUpdated(changed);
32
+ this.setAttribute("role", "separator");
33
+ }
34
+ updated(changed) {
35
+ super.updated(changed);
36
+ if (changed.has("vertical")) {
37
+ if (this.vertical) {
38
+ this.setAttribute("aria-orientation", "vertical");
39
+ } else {
40
+ this.removeAttribute("aria-orientation");
41
+ }
42
+ }
43
+ }
44
+ }
45
+ // ──────────────────
46
+ // SHARED API
47
+ // ──────────────────
48
+ /**
49
+ * @internal
50
+ *
51
+ * A readonly array of the valid static color variants for the divider.
52
+ */
53
+ DividerBase.STATIC_COLORS = DIVIDER_STATIC_COLORS;
54
+ __decorateClass([
55
+ property({ type: Boolean, reflect: true })
56
+ ], DividerBase.prototype, "vertical", 2);
57
+ __decorateClass([
58
+ property({ reflect: true, attribute: "static-color" })
59
+ ], DividerBase.prototype, "staticColor", 2);
60
+ //# sourceMappingURL=Divider.base.dev.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["Divider.base.ts"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { PropertyValues, SpectrumElement } from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport { SizedMixin } from '@spectrum-web-components/base/src/sizedMixin.js';\n\nimport {\n DIVIDER_STATIC_COLORS,\n DIVIDER_VALID_SIZES,\n type DividerStaticColor,\n} from './Divider.types.dev.js'\n\n/**\n * A divider separates and distinguishes sections of content or groups of menu items.\n *\n * @attribute {ElementSize} size - The size of the divider.\n */\nexport abstract class DividerBase extends SizedMixin(SpectrumElement, {\n validSizes: DIVIDER_VALID_SIZES,\n noDefaultSize: true,\n}) {\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n // SHARED API\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n /**\n * @internal\n *\n * A readonly array of the valid static color variants for the divider.\n */\n static readonly STATIC_COLORS: readonly string[] = DIVIDER_STATIC_COLORS;\n\n /**\n * Whether the divider is vertical. If false, the divider is horizontal. The default is false.\n */\n @property({ type: Boolean, reflect: true })\n public vertical = false;\n\n /**\n * The static color variant to use for the divider.\n */\n @property({ reflect: true, attribute: 'static-color' })\n public staticColor?: DividerStaticColor;\n\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n // IMPLEMENTATION\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n protected override firstUpdated(changed: PropertyValues<this>): void {\n super.firstUpdated(changed);\n this.setAttribute('role', 'separator');\n }\n\n protected override updated(changed: PropertyValues<this>): void {\n super.updated(changed);\n if (changed.has('vertical')) {\n if (this.vertical) {\n this.setAttribute('aria-orientation', 'vertical');\n } else {\n this.removeAttribute('aria-orientation');\n }\n }\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;AAYA,SAAyB,uBAAuB;AAChD,SAAS,gBAAgB;AACzB,SAAS,kBAAkB;AAE3B;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AAOA,aAAe,oBAAoB,WAAW,iBAAiB;AAAA,EACpE,YAAY;AAAA,EACZ,eAAe;AACjB,CAAC,EAAE;AAAA,EAHI;AAAA;AAmBL,SAAO,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,EAYC,aAAa,SAAqC;AACnE,UAAM,aAAa,OAAO;AAC1B,SAAK,aAAa,QAAQ,WAAW;AAAA,EACvC;AAAA,EAEmB,QAAQ,SAAqC;AAC9D,UAAM,QAAQ,OAAO;AACrB,QAAI,QAAQ,IAAI,UAAU,GAAG;AAC3B,UAAI,KAAK,UAAU;AACjB,aAAK,aAAa,oBAAoB,UAAU;AAAA,MAClD,OAAO;AACL,aAAK,gBAAgB,kBAAkB;AAAA,MACzC;AAAA,IACF;AAAA,EACF;AACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA9CsB,YAaJ,gBAAmC;AAM5C;AAAA,EADN,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAlBtB,YAmBb;AAMA;AAAA,EADN,SAAS,EAAE,SAAS,MAAM,WAAW,eAAe,CAAC;AAAA,GAxBlC,YAyBb;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";var c=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var l=(o,r,t,i)=>{for(var e=i>1?void 0:i?d(r,t):r,a=o.length-1,s;a>=0;a--)(s=o[a])&&(e=(i?s(r,t,e):s(e))||e);return i&&e&&c(r,t,e),e};import{SpectrumElement as u}from"@spectrum-web-components/base";import{property as p}from"@spectrum-web-components/base/src/decorators.js";import{SizedMixin as f}from"@spectrum-web-components/base/src/sizedMixin.js";import{DIVIDER_STATIC_COLORS as S,DIVIDER_VALID_SIZES as m}from"./Divider.types.js";export class DividerBase extends f(u,{validSizes:m,noDefaultSize:!0}){constructor(){super(...arguments);this.vertical=!1}firstUpdated(t){super.firstUpdated(t),this.setAttribute("role","separator")}updated(t){super.updated(t),t.has("vertical")&&(this.vertical?this.setAttribute("aria-orientation","vertical"):this.removeAttribute("aria-orientation"))}}DividerBase.STATIC_COLORS=S,l([p({type:Boolean,reflect:!0})],DividerBase.prototype,"vertical",2),l([p({reflect:!0,attribute:"static-color"})],DividerBase.prototype,"staticColor",2);
2
+ //# sourceMappingURL=Divider.base.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["Divider.base.ts"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport { PropertyValues, SpectrumElement } from '@spectrum-web-components/base';\nimport { property } from '@spectrum-web-components/base/src/decorators.js';\nimport { SizedMixin } from '@spectrum-web-components/base/src/sizedMixin.js';\n\nimport {\n DIVIDER_STATIC_COLORS,\n DIVIDER_VALID_SIZES,\n type DividerStaticColor,\n} from './Divider.types.js';\n\n/**\n * A divider separates and distinguishes sections of content or groups of menu items.\n *\n * @attribute {ElementSize} size - The size of the divider.\n */\nexport abstract class DividerBase extends SizedMixin(SpectrumElement, {\n validSizes: DIVIDER_VALID_SIZES,\n noDefaultSize: true,\n}) {\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n // SHARED API\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n /**\n * @internal\n *\n * A readonly array of the valid static color variants for the divider.\n */\n static readonly STATIC_COLORS: readonly string[] = DIVIDER_STATIC_COLORS;\n\n /**\n * Whether the divider is vertical. If false, the divider is horizontal. The default is false.\n */\n @property({ type: Boolean, reflect: true })\n public vertical = false;\n\n /**\n * The static color variant to use for the divider.\n */\n @property({ reflect: true, attribute: 'static-color' })\n public staticColor?: DividerStaticColor;\n\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n // IMPLEMENTATION\n // \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n\n protected override firstUpdated(changed: PropertyValues<this>): void {\n super.firstUpdated(changed);\n this.setAttribute('role', 'separator');\n }\n\n protected override updated(changed: PropertyValues<this>): void {\n super.updated(changed);\n if (changed.has('vertical')) {\n if (this.vertical) {\n this.setAttribute('aria-orientation', 'vertical');\n } else {\n this.removeAttribute('aria-orientation');\n }\n }\n }\n}\n"],
5
+ "mappings": "qNAYA,OAAyB,mBAAAA,MAAuB,gCAChD,OAAS,YAAAC,MAAgB,kDACzB,OAAS,cAAAC,MAAkB,kDAE3B,OACE,yBAAAC,EACA,uBAAAC,MAEK,qBAOA,aAAe,oBAAoBF,EAAWF,EAAiB,CACpE,WAAYI,EACZ,cAAe,EACjB,CAAC,CAAE,CAHI,kCAmBL,KAAO,SAAW,GAYC,aAAaC,EAAqC,CACnE,MAAM,aAAaA,CAAO,EAC1B,KAAK,aAAa,OAAQ,WAAW,CACvC,CAEmB,QAAQA,EAAqC,CAC9D,MAAM,QAAQA,CAAO,EACjBA,EAAQ,IAAI,UAAU,IACpB,KAAK,SACP,KAAK,aAAa,mBAAoB,UAAU,EAEhD,KAAK,gBAAgB,kBAAkB,EAG7C,CACF,CA9CsB,YAaJ,cAAmCF,EAM5CG,EAAA,CADNL,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,GAlBtB,YAmBb,wBAMAK,EAAA,CADNL,EAAS,CAAE,QAAS,GAAM,UAAW,cAAe,CAAC,GAxBlC,YAyBb",
6
+ "names": ["SpectrumElement", "property", "SizedMixin", "DIVIDER_STATIC_COLORS", "DIVIDER_VALID_SIZES", "changed", "__decorateClass"]
7
+ }
package/src/Divider.d.ts CHANGED
@@ -10,7 +10,7 @@
10
10
  * governing permissions and limitations under the License.
11
11
  */
12
12
  import { CSSResultArray, TemplateResult } from '@spectrum-web-components/base';
13
- import { DividerBase } from '@spectrum-web-components/core/components/divider';
13
+ import { DividerBase } from './Divider.base.js';
14
14
  /**
15
15
  * @element sp-divider
16
16
  */
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  html
4
4
  } from "@spectrum-web-components/base";
5
- import { DividerBase } from "@spectrum-web-components/core/components/divider";
5
+ import { DividerBase } from "./Divider.base.dev.js";
6
6
  import styles from "./divider.css.js";
7
7
  export class Divider extends DividerBase {
8
8
  render() {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["Divider.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n CSSResultArray,\n html,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { DividerBase } from '@spectrum-web-components/core/components/divider';\n\nimport styles from './divider.css.js';\n\n/**\n * @element sp-divider\n */\nexport class Divider extends DividerBase {\n public static override styles: CSSResultArray = [styles];\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
- "mappings": ";AAYA;AAAA,EAEE;AAAA,OAEK;AACP,SAAS,mBAAmB;AAE5B,OAAO,YAAY;AAKZ,aAAM,gBAAgB,YAAY;AAAA,EAGpB,SAAyB;AAC1C,WAAO;AAAA,EACT;AACF;AANa,QACY,SAAyB,CAAC,MAAM;",
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n CSSResultArray,\n html,\n TemplateResult,\n} from '@spectrum-web-components/base';\n\nimport { DividerBase } from './Divider.base.dev.js'\nimport styles from './divider.css.js';\n\n/**\n * @element sp-divider\n */\nexport class Divider extends DividerBase {\n public static override styles: CSSResultArray = [styles];\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
+ "mappings": ";AAYA;AAAA,EAEE;AAAA,OAEK;AAEP,SAAS,mBAAmB;AAC5B,OAAO,YAAY;AAKZ,aAAM,gBAAgB,YAAY;AAAA,EAGpB,SAAyB;AAC1C,WAAO;AAAA,EACT;AACF;AANa,QACY,SAAyB,CAAC,MAAM;",
6
6
  "names": []
7
7
  }
package/src/Divider.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";import{html as e}from"@spectrum-web-components/base";import{DividerBase as r}from"@spectrum-web-components/core/components/divider";import t from"./divider.css.js";export class Divider extends r{render(){return e``}}Divider.styles=[t];
1
+ "use strict";import{html as e}from"@spectrum-web-components/base";import{DividerBase as r}from"./Divider.base.js";import t from"./divider.css.js";export class Divider extends r{render(){return e``}}Divider.styles=[t];
2
2
  //# sourceMappingURL=Divider.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["Divider.ts"],
4
- "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n CSSResultArray,\n html,\n TemplateResult,\n} from '@spectrum-web-components/base';\nimport { DividerBase } from '@spectrum-web-components/core/components/divider';\n\nimport styles from './divider.css.js';\n\n/**\n * @element sp-divider\n */\nexport class Divider extends DividerBase {\n public static override styles: CSSResultArray = [styles];\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
- "mappings": "aAYA,OAEE,QAAAA,MAEK,gCACP,OAAS,eAAAC,MAAmB,mDAE5B,OAAOC,MAAY,mBAKZ,aAAM,gBAAgBD,CAAY,CAGpB,QAAyB,CAC1C,OAAOD,GACT,CACF,CANa,QACY,OAAyB,CAACE,CAAM",
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n CSSResultArray,\n html,\n TemplateResult,\n} from '@spectrum-web-components/base';\n\nimport { DividerBase } from './Divider.base.js';\nimport styles from './divider.css.js';\n\n/**\n * @element sp-divider\n */\nexport class Divider extends DividerBase {\n public static override styles: CSSResultArray = [styles];\n\n protected override render(): TemplateResult {\n return html``;\n }\n}\n"],
5
+ "mappings": "aAYA,OAEE,QAAAA,MAEK,gCAEP,OAAS,eAAAC,MAAmB,oBAC5B,OAAOC,MAAY,mBAKZ,aAAM,gBAAgBD,CAAY,CAGpB,QAAyB,CAC1C,OAAOD,GACT,CACF,CANa,QACY,OAAyB,CAACE,CAAM",
6
6
  "names": ["html", "DividerBase", "styles"]
7
7
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright 2026 Adobe. All rights reserved.
3
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
+ * you may not use this file except in compliance with the License. You may obtain a copy
5
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
+ *
7
+ * Unless required by applicable law or agreed to in writing, software distributed under
8
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
+ * OF ANY KIND, either express or implied. See the License for the specific language
10
+ * governing permissions and limitations under the License.
11
+ */
12
+ export declare const DIVIDER_VALID_SIZES: readonly ["s", "m", "l"];
13
+ export declare const DIVIDER_STATIC_COLORS: readonly ["white", "black"];
14
+ export type DividerStaticColor = (typeof DIVIDER_STATIC_COLORS)[number];
15
+ export type DividerSize = (typeof DIVIDER_VALID_SIZES)[number];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ export const DIVIDER_VALID_SIZES = [
3
+ "s",
4
+ "m",
5
+ "l"
6
+ ];
7
+ export const DIVIDER_STATIC_COLORS = [
8
+ "white",
9
+ "black"
10
+ ];
11
+ //# sourceMappingURL=Divider.types.dev.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["Divider.types.ts"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport type { ElementSize } from '@spectrum-web-components/base/src/sizedMixin.js';\n\nexport const DIVIDER_VALID_SIZES = [\n 's',\n 'm',\n 'l',\n] as const satisfies readonly ElementSize[];\nexport const DIVIDER_STATIC_COLORS = [\n 'white',\n 'black',\n] as const satisfies readonly string[];\n\nexport type DividerStaticColor = (typeof DIVIDER_STATIC_COLORS)[number];\n\nexport type DividerSize = (typeof DIVIDER_VALID_SIZES)[number];\n"],
5
+ "mappings": ";AAcO,aAAM,sBAAsB;AAAA,EACjC;AAAA,EACA;AAAA,EACA;AACF;AACO,aAAM,wBAAwB;AAAA,EACnC;AAAA,EACA;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";export const DIVIDER_VALID_SIZES=["s","m","l"],DIVIDER_STATIC_COLORS=["white","black"];
2
+ //# sourceMappingURL=Divider.types.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["Divider.types.ts"],
4
+ "sourcesContent": ["/**\n * Copyright 2026 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport type { ElementSize } from '@spectrum-web-components/base/src/sizedMixin.js';\n\nexport const DIVIDER_VALID_SIZES = [\n 's',\n 'm',\n 'l',\n] as const satisfies readonly ElementSize[];\nexport const DIVIDER_STATIC_COLORS = [\n 'white',\n 'black',\n] as const satisfies readonly string[];\n\nexport type DividerStaticColor = (typeof DIVIDER_STATIC_COLORS)[number];\n\nexport type DividerSize = (typeof DIVIDER_VALID_SIZES)[number];\n"],
5
+ "mappings": "aAcO,aAAM,oBAAsB,CACjC,IACA,IACA,GACF,EACa,sBAAwB,CACnC,QACA,OACF",
6
+ "names": []
7
+ }