@spectrum-web-components/badge 0.31.1-overlay.29 → 0.31.1-react.2

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