@spectrum-web-components/badge 1.0.0 → 1.0.1-color-testing

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/badge",
3
- "version": "1.0.0",
3
+ "version": "1.0.1-color-testing",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -58,8 +58,8 @@
58
58
  "lit-html"
59
59
  ],
60
60
  "dependencies": {
61
- "@spectrum-web-components/base": "^1.0.0",
62
- "@spectrum-web-components/shared": "^1.0.0"
61
+ "@spectrum-web-components/base": "^1.0.1-color-testing",
62
+ "@spectrum-web-components/shared": "^1.0.1-color-testing"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@spectrum-css/badge": "^5.0.0-s2-foundations.15"
@@ -70,5 +70,5 @@
70
70
  "./sp-*.js",
71
71
  "./**/*.dev.js"
72
72
  ],
73
- "gitHead": "5cf5d34645bf9494ebd20f64c42d1619523d2d84"
73
+ "gitHead": "17e14b4a9fa2c8b15df158ea7d77ce09bf50de82"
74
74
  }
@@ -1,161 +0,0 @@
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",
35
- "type": {
36
- "text": "[\n 'inline-start',\n 'inline-end',\n 'block-start',\n 'block-end',\n]"
37
- },
38
- "default": "[\n 'inline-start',\n 'inline-end',\n 'block-start',\n 'block-end',\n]"
39
- },
40
- {
41
- "kind": "class",
42
- "description": "",
43
- "name": "Badge",
44
- "slots": [
45
- {
46
- "description": "Text label of the badge",
47
- "name": ""
48
- },
49
- {
50
- "description": "Optional icon that appears to the left of the label",
51
- "name": "icon"
52
- }
53
- ],
54
- "members": [
55
- {
56
- "kind": "field",
57
- "name": "fixed",
58
- "type": {
59
- "text": "FixedValues | undefined"
60
- },
61
- "privacy": "public",
62
- "attribute": "fixed",
63
- "reflects": true
64
- },
65
- {
66
- "kind": "field",
67
- "name": "_fixed",
68
- "type": {
69
- "text": "FixedValues | undefined"
70
- },
71
- "privacy": "private"
72
- },
73
- {
74
- "kind": "field",
75
- "name": "variant",
76
- "type": {
77
- "text": "BadgeVariant"
78
- },
79
- "privacy": "public",
80
- "default": "'informative'",
81
- "attribute": "variant",
82
- "reflects": true
83
- },
84
- {
85
- "kind": "field",
86
- "name": "hasIcon",
87
- "type": {
88
- "text": "boolean"
89
- },
90
- "privacy": "protected",
91
- "readonly": true
92
- }
93
- ],
94
- "attributes": [
95
- {
96
- "name": "fixed",
97
- "type": {
98
- "text": "FixedValues | undefined"
99
- },
100
- "fieldName": "fixed"
101
- },
102
- {
103
- "name": "variant",
104
- "type": {
105
- "text": "BadgeVariant"
106
- },
107
- "default": "'informative'",
108
- "fieldName": "variant"
109
- }
110
- ],
111
- "mixins": [
112
- {
113
- "name": "SizedMixin",
114
- "package": "@spectrum-web-components/base"
115
- },
116
- {
117
- "name": "ObserveSlotText",
118
- "package": "@spectrum-web-components/shared/src/observe-slot-text.js"
119
- },
120
- {
121
- "name": "ObserveSlotPresence",
122
- "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
123
- }
124
- ],
125
- "superclass": {
126
- "name": "SpectrumElement",
127
- "package": "@spectrum-web-components/base"
128
- },
129
- "tagName": "sp-badge",
130
- "customElement": true
131
- }
132
- ],
133
- "exports": [
134
- {
135
- "kind": "js",
136
- "name": "BADGE_VARIANTS",
137
- "declaration": {
138
- "name": "BADGE_VARIANTS",
139
- "module": "src/Badge.js"
140
- }
141
- },
142
- {
143
- "kind": "js",
144
- "name": "FIXED_VALUES",
145
- "declaration": {
146
- "name": "FIXED_VALUES",
147
- "module": "src/Badge.js"
148
- }
149
- },
150
- {
151
- "kind": "js",
152
- "name": "Badge",
153
- "declaration": {
154
- "name": "Badge",
155
- "module": "src/Badge.js"
156
- }
157
- }
158
- ]
159
- }
160
- ]
161
- }