@spectrum-web-components/badge 0.4.5-react.48 → 0.4.5-react.49

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,176 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-badge.ts",
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.ts",
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 'fuchsia',\n 'indigo',\n 'magenta',\n 'purple',\n 'seafoam',\n 'yellow',\n]"
29
+ },
30
+ "default": "[\n 'accent',\n 'neutral',\n 'informative',\n 'positive',\n 'negative',\n 'fuchsia',\n 'indigo',\n 'magenta',\n 'purple',\n 'seafoam',\n 'yellow',\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
+ }
100
+ ],
101
+ "attributes": [
102
+ {
103
+ "name": "fixed",
104
+ "type": {
105
+ "text": "FixedValues | undefined"
106
+ },
107
+ "fieldName": "fixed"
108
+ },
109
+ {
110
+ "name": "variant",
111
+ "type": {
112
+ "text": "BadgeVariant"
113
+ },
114
+ "default": "'informative'",
115
+ "fieldName": "variant"
116
+ }
117
+ ],
118
+ "mixins": [
119
+ {
120
+ "name": "SizedMixin",
121
+ "package": "@spectrum-web-components/base"
122
+ },
123
+ {
124
+ "name": "ObserveSlotText",
125
+ "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
126
+ },
127
+ {
128
+ "name": "ObserveSlotPresence",
129
+ "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
130
+ }
131
+ ],
132
+ "superclass": {
133
+ "name": "SpectrumElement",
134
+ "package": "@spectrum-web-components/base"
135
+ },
136
+ "tagName": "sp-badge",
137
+ "customElement": true
138
+ }
139
+ ],
140
+ "exports": [
141
+ {
142
+ "kind": "js",
143
+ "name": "BADGE_VARIANTS",
144
+ "declaration": {
145
+ "name": "BADGE_VARIANTS",
146
+ "module": "src/Badge.ts"
147
+ }
148
+ },
149
+ {
150
+ "kind": "js",
151
+ "name": "FIXED_VALUES_DEPRECATED",
152
+ "declaration": {
153
+ "name": "FIXED_VALUES_DEPRECATED",
154
+ "module": "src/Badge.ts"
155
+ }
156
+ },
157
+ {
158
+ "kind": "js",
159
+ "name": "FIXED_VALUES",
160
+ "declaration": {
161
+ "name": "FIXED_VALUES",
162
+ "module": "src/Badge.ts"
163
+ }
164
+ },
165
+ {
166
+ "kind": "js",
167
+ "name": "Badge",
168
+ "declaration": {
169
+ "name": "Badge",
170
+ "module": "src/Badge.ts"
171
+ }
172
+ }
173
+ ]
174
+ }
175
+ ]
176
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/badge",
3
- "version": "0.4.5-react.48+e4fada004",
3
+ "version": "0.4.5-react.49+7959cb8d1",
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.7.5-react.48+e4fada004",
61
- "@spectrum-web-components/shared": "^0.15.6-react.48+e4fada004"
60
+ "@spectrum-web-components/base": "^0.7.5-react.49+7959cb8d1",
61
+ "@spectrum-web-components/shared": "^0.15.6-react.49+7959cb8d1"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@spectrum-css/badge": "^2.0.6"
@@ -69,5 +69,5 @@
69
69
  "./sp-*.js",
70
70
  "./**/*.dev.js"
71
71
  ],
72
- "gitHead": "e4fada0040dcaf1e1267f2159f366ec708cb2d09"
72
+ "gitHead": "7959cb8d1df072fc473ec1687b2a7328550b96f7"
73
73
  }