@spectrum-web-components/badge 0.48.0-beta.2 → 0.48.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.
@@ -0,0 +1,177 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-badge.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-badge",
13
+ "declaration": {
14
+ "name": "Badge",
15
+ "module": "/src/Badge.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/Badge.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "variable",
26
+ "name": "BADGE_VARIANTS",
27
+ "type": {
28
+ "text": "[\n 'accent',\n 'neutral',\n 'informative',\n 'positive',\n 'negative',\n 'notice',\n 'fuchsia',\n 'indigo',\n 'magenta',\n 'purple',\n 'seafoam',\n 'yellow',\n 'gray',\n 'red',\n 'orange',\n 'chartreuse',\n 'celery',\n 'green',\n 'cyan',\n 'blue',\n]"
29
+ },
30
+ "default": "[\n 'accent',\n 'neutral',\n 'informative',\n 'positive',\n 'negative',\n 'notice',\n 'fuchsia',\n 'indigo',\n 'magenta',\n 'purple',\n 'seafoam',\n 'yellow',\n 'gray',\n 'red',\n 'orange',\n 'chartreuse',\n 'celery',\n 'green',\n 'cyan',\n 'blue',\n]"
31
+ },
32
+ {
33
+ "kind": "variable",
34
+ "name": "FIXED_VALUES_DEPRECATED",
35
+ "type": {
36
+ "text": "array"
37
+ },
38
+ "default": "['top', 'bottom', 'left', 'right']"
39
+ },
40
+ {
41
+ "kind": "variable",
42
+ "name": "FIXED_VALUES",
43
+ "type": {
44
+ "text": "[\n 'inline-start',\n 'inline-end',\n 'block-start',\n 'block-end',\n]"
45
+ },
46
+ "default": "[\n 'inline-start',\n 'inline-end',\n 'block-start',\n 'block-end',\n]"
47
+ },
48
+ {
49
+ "kind": "class",
50
+ "description": "",
51
+ "name": "Badge",
52
+ "slots": [
53
+ {
54
+ "description": "Text label of the badge",
55
+ "name": ""
56
+ },
57
+ {
58
+ "description": "Optional icon that appears to the left of the label",
59
+ "name": "icon"
60
+ }
61
+ ],
62
+ "members": [
63
+ {
64
+ "kind": "field",
65
+ "name": "fixed",
66
+ "type": {
67
+ "text": "FixedValues | undefined"
68
+ },
69
+ "privacy": "public",
70
+ "attribute": "fixed",
71
+ "reflects": true
72
+ },
73
+ {
74
+ "kind": "field",
75
+ "name": "_fixed",
76
+ "type": {
77
+ "text": "FixedValues | undefined"
78
+ },
79
+ "privacy": "private"
80
+ },
81
+ {
82
+ "kind": "field",
83
+ "name": "variant",
84
+ "type": {
85
+ "text": "BadgeVariant"
86
+ },
87
+ "privacy": "public",
88
+ "default": "'informative'",
89
+ "attribute": "variant",
90
+ "reflects": true
91
+ },
92
+ {
93
+ "kind": "field",
94
+ "name": "hasIcon",
95
+ "type": {
96
+ "text": "boolean"
97
+ },
98
+ "privacy": "protected",
99
+ "readonly": true
100
+ }
101
+ ],
102
+ "attributes": [
103
+ {
104
+ "name": "fixed",
105
+ "type": {
106
+ "text": "FixedValues | undefined"
107
+ },
108
+ "fieldName": "fixed"
109
+ },
110
+ {
111
+ "name": "variant",
112
+ "type": {
113
+ "text": "BadgeVariant"
114
+ },
115
+ "default": "'informative'",
116
+ "fieldName": "variant"
117
+ }
118
+ ],
119
+ "mixins": [
120
+ {
121
+ "name": "SizedMixin",
122
+ "package": "@spectrum-web-components/base"
123
+ },
124
+ {
125
+ "name": "ObserveSlotText",
126
+ "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
127
+ },
128
+ {
129
+ "name": "ObserveSlotPresence",
130
+ "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
131
+ }
132
+ ],
133
+ "superclass": {
134
+ "name": "SpectrumElement",
135
+ "package": "@spectrum-web-components/base"
136
+ },
137
+ "tagName": "sp-badge",
138
+ "customElement": true
139
+ }
140
+ ],
141
+ "exports": [
142
+ {
143
+ "kind": "js",
144
+ "name": "BADGE_VARIANTS",
145
+ "declaration": {
146
+ "name": "BADGE_VARIANTS",
147
+ "module": "src/Badge.js"
148
+ }
149
+ },
150
+ {
151
+ "kind": "js",
152
+ "name": "FIXED_VALUES_DEPRECATED",
153
+ "declaration": {
154
+ "name": "FIXED_VALUES_DEPRECATED",
155
+ "module": "src/Badge.js"
156
+ }
157
+ },
158
+ {
159
+ "kind": "js",
160
+ "name": "FIXED_VALUES",
161
+ "declaration": {
162
+ "name": "FIXED_VALUES",
163
+ "module": "src/Badge.js"
164
+ }
165
+ },
166
+ {
167
+ "kind": "js",
168
+ "name": "Badge",
169
+ "declaration": {
170
+ "name": "Badge",
171
+ "module": "src/Badge.js"
172
+ }
173
+ }
174
+ ]
175
+ }
176
+ ]
177
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/badge",
3
- "version": "0.48.0-beta.2",
3
+ "version": "0.48.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,8 +57,8 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.48.0-beta.2",
61
- "@spectrum-web-components/shared": "^0.48.0-beta.2"
60
+ "@spectrum-web-components/base": "^0.48.1",
61
+ "@spectrum-web-components/shared": "^0.48.1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@spectrum-css/badge": "^4.1.1"
@@ -69,5 +69,5 @@
69
69
  "./sp-*.js",
70
70
  "./**/*.dev.js"
71
71
  ],
72
- "gitHead": "e0479b5edadc68587c678267d3ac2c29c460b4d3"
72
+ "gitHead": "b756ecc3587411e4dbeb825bad40a9f4a3c7a248"
73
73
  }