@blockquote-web-components/blockquote-tabs 1.2.0 → 1.3.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.
package/README.md CHANGED
@@ -117,49 +117,15 @@ Tabs are a set of layered sections of content, known as tab panels, that display
117
117
  | ---- | ---------------- | -------------- | --------------------- | ------- |
118
118
  | `js` | `BlockquoteTabs` | BlockquoteTabs | src/BlockquoteTabs.js | |
119
119
 
120
- ![Lit](https://img.shields.io/badge/lit-3.0.0-blue.svg)
121
-
122
- `<blockquote-tab>`
123
- A tab element that can be used inside a `blockquote-tabs` element.
124
-
125
-
126
- ### `src/tab/BlockquoteTab.js`:
127
-
128
- #### class: `BlockquoteTab`, `blockquote-tab`
129
-
130
- ##### Mixins
131
-
132
- | Name | Module | Package |
133
- | ---------------------------- | ------ | -------------------------------------------------------- |
134
- | `BlockquoteMixinSlotContent` | | @blockquote-web-components/blockquote-mixin-slot-content |
135
-
136
- ##### Fields
137
-
138
- | Name | Privacy | Type | Default | Description | Inherited From |
139
- | ---------------------- | ------- | --------- | -------------------------------------------------------------- | --------------------------------------- | -------------- |
140
- | `selected` | public | `boolean` | `false` | Whether or not the tab is \`selected\`. | |
141
- | `globalRootAttributes` | | `object` | `{ role: 'tab', slot: 'tab', tabindex: 0, }` | | |
142
-
143
- ##### Methods
144
-
145
- | Name | Privacy | Description | Parameters | Return | Inherited From |
146
- | -------------------- | ------- | ------------------------------- | ----------------------- | ------ | -------------- |
147
- | `_onSlotChanges` | | | `ev` | | |
148
- | `__setArrayAttibute` | | Sets attributes on the element. | `entries: Record<*, *>` | | |
149
-
150
- ##### Attributes
151
-
152
- | Name | Field | Inherited From |
153
- | ---------- | -------- | -------------- |
154
- | `selected` | selected | |
155
-
156
- <hr/>
120
+ ### `src/index.js`:
157
121
 
158
122
  #### Exports
159
123
 
160
- | Kind | Name | Declaration | Module | Package |
161
- | ---- | --------------- | ------------- | ------------------------ | ------- |
162
- | `js` | `BlockquoteTab` | BlockquoteTab | src/tab/BlockquoteTab.js | |
124
+ | Kind | Name | Declaration | Module | Package |
125
+ | ---- | -------------------- | ------------------ | -------------------------------- | ------- |
126
+ | `js` | `BlockquoteTabs` | BlockquoteTabs | ./BlockquoteTabs.js | |
127
+ | `js` | `BlockquoteTab` | BlockquoteTab | ./tab/BlockquoteTab.js | |
128
+ | `js` | `BlockquoteTabPanel` | BlockquoteTabPanel | ./tabpanel/BlockquoteTabPanel.js | |
163
129
 
164
130
  ### `src/styles/blockquote-tabs-styles.css.js`:
165
131
 
@@ -214,21 +180,49 @@ A tab element that can be used inside a `blockquote-tabs` element.
214
180
  | ---- | -------------------- | ------------------ | ---------------------------------- | ------- |
215
181
  | `js` | `BlockquoteTabPanel` | BlockquoteTabPanel | src/tabpanel/BlockquoteTabPanel.js | |
216
182
 
217
- ### `src/tab/styles/blockquote-tab-styles.css.js`:
183
+ ![Lit](https://img.shields.io/badge/lit-3.0.0-blue.svg)
218
184
 
219
- #### Variables
185
+ `<blockquote-tab>`
186
+ A tab element that can be used inside a `blockquote-tabs` element.
220
187
 
221
- | Name | Description | Type |
222
- | -------- | ----------- | ---- |
223
- | `styles` | | |
188
+
189
+ ### `src/tab/BlockquoteTab.js`:
190
+
191
+ #### class: `BlockquoteTab`, `blockquote-tab`
192
+
193
+ ##### Mixins
194
+
195
+ | Name | Module | Package |
196
+ | ---------------------------- | ------ | -------------------------------------------------------- |
197
+ | `BlockquoteMixinSlotContent` | | @blockquote-web-components/blockquote-mixin-slot-content |
198
+
199
+ ##### Fields
200
+
201
+ | Name | Privacy | Type | Default | Description | Inherited From |
202
+ | ---------------------- | ------- | --------- | -------------------------------------------------------------- | --------------------------------------- | -------------- |
203
+ | `selected` | public | `boolean` | `false` | Whether or not the tab is \`selected\`. | |
204
+ | `globalRootAttributes` | | `object` | `{ role: 'tab', slot: 'tab', tabindex: 0, }` | | |
205
+
206
+ ##### Methods
207
+
208
+ | Name | Privacy | Description | Parameters | Return | Inherited From |
209
+ | -------------------- | ------- | ------------------------------- | ----------------------- | ------ | -------------- |
210
+ | `_onSlotChanges` | | | `ev` | | |
211
+ | `__setArrayAttibute` | | Sets attributes on the element. | `entries: Record<*, *>` | | |
212
+
213
+ ##### Attributes
214
+
215
+ | Name | Field | Inherited From |
216
+ | ---------- | -------- | -------------- |
217
+ | `selected` | selected | |
224
218
 
225
219
  <hr/>
226
220
 
227
221
  #### Exports
228
222
 
229
- | Kind | Name | Declaration | Module | Package |
230
- | ---- | -------- | ----------- | ------------------------------------------- | ------- |
231
- | `js` | `styles` | styles | src/tab/styles/blockquote-tab-styles.css.js | |
223
+ | Kind | Name | Declaration | Module | Package |
224
+ | ---- | --------------- | ------------- | ------------------------ | ------- |
225
+ | `js` | `BlockquoteTab` | BlockquoteTab | src/tab/BlockquoteTab.js | |
232
226
 
233
227
  ### `src/tabpanel/styles/blockquote-tabpanel-styles.css.js`:
234
228
 
@@ -246,6 +240,22 @@ A tab element that can be used inside a `blockquote-tabs` element.
246
240
  | ---- | -------- | ----------- | ----------------------------------------------------- | ------- |
247
241
  | `js` | `styles` | styles | src/tabpanel/styles/blockquote-tabpanel-styles.css.js | |
248
242
 
243
+ ### `src/tab/styles/blockquote-tab-styles.css.js`:
244
+
245
+ #### Variables
246
+
247
+ | Name | Description | Type |
248
+ | -------- | ----------- | ---- |
249
+ | `styles` | | |
250
+
251
+ <hr/>
252
+
253
+ #### Exports
254
+
255
+ | Kind | Name | Declaration | Module | Package |
256
+ | ---- | -------- | ----------- | ------------------------------------------- | ------- |
257
+ | `js` | `styles` | styles | src/tab/styles/blockquote-tab-styles.css.js | |
258
+
249
259
  ### `define/blockquote-tab.js`:
250
260
 
251
261
  #### Exports
@@ -269,13 +279,3 @@ A tab element that can be used inside a `blockquote-tabs` element.
269
279
  | Kind | Name | Declaration | Module | Package |
270
280
  | --------------------------- | ----------------- | -------------- | ---------------------- | ------- |
271
281
  | `custom-element-definition` | `blockquote-tabs` | BlockquoteTabs | /src/BlockquoteTabs.js | |
272
-
273
- ### `index.js`:
274
-
275
- #### Exports
276
-
277
- | Kind | Name | Declaration | Module | Package |
278
- | ---- | -------------------- | ------------------ | ------------------------------------ | ------- |
279
- | `js` | `BlockquoteTabs` | BlockquoteTabs | ./src/BlockquoteTabs.js | |
280
- | `js` | `BlockquoteTab` | BlockquoteTab | ./src/tab/BlockquoteTab.js | |
281
- | `js` | `BlockquoteTabPanel` | BlockquoteTabPanel | ./src/tabpanel/BlockquoteTabPanel.js | |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockquote-web-components/blockquote-tabs",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Webcomponent blockquote-tabs following open-wc recommendations",
5
5
  "keywords": [
6
6
  "lit",
@@ -12,7 +12,7 @@
12
12
  "type": "module",
13
13
  "exports": {
14
14
  ".": {
15
- "default": "./index.js"
15
+ "default": "./src/index.js"
16
16
  },
17
17
  "./package.json": {
18
18
  "default": "./package.json"
@@ -45,11 +45,11 @@
45
45
  "default": "./define/blockquote-tabpanel.js"
46
46
  },
47
47
  "./index.js": {
48
- "default": "./index.js"
48
+ "default": "./src/index.js"
49
49
  }
50
50
  },
51
- "main": "index.js",
52
- "module": "index.js",
51
+ "main": "src/index.js",
52
+ "module": "src/index.js",
53
53
  "files": [
54
54
  "/define/",
55
55
  "/src/",
@@ -165,19 +165,19 @@
165
165
  }
166
166
  },
167
167
  "dependencies": {
168
- "@blockquote-web-components/blockquote-mixin-slot-content": "^1.4.0",
168
+ "@blockquote-web-components/blockquote-mixin-slot-content": "^1.5.0",
169
169
  "@juggle/resize-observer": "^3.4.0",
170
170
  "@lit-labs/observers": "^2.0.0",
171
171
  "lit": "^3.1.1"
172
172
  },
173
173
  "devDependencies": {
174
174
  "@blockquote-web-components/blockquote-base-common-dev-dependencies": "^1.8.0",
175
- "@blockquote-web-components/blockquote-base-embedded-webview": "^1.9.0",
175
+ "@blockquote-web-components/blockquote-base-embedded-webview": "^1.10.0",
176
176
  "@blockquote-web-components/blockquote-foundations-sass": "^1.1.2"
177
177
  },
178
178
  "publishConfig": {
179
179
  "access": "public"
180
180
  },
181
181
  "customElements": "custom-elements.json",
182
- "gitHead": "c19026ccc69693273fe4b13b4786672ee6c7172a"
182
+ "gitHead": "4e3daa3414a4aa6eaf6cc0d792d3b86fa6fbb36b"
183
183
  }
package/src/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export { BlockquoteTabs } from './BlockquoteTabs.js';
2
+ export { BlockquoteTab } from './tab/BlockquoteTab.js';
3
+ export { BlockquoteTabPanel } from './tabpanel/BlockquoteTabPanel.js';
package/index.js DELETED
@@ -1,3 +0,0 @@
1
- export { BlockquoteTabs } from './src/BlockquoteTabs.js';
2
- export { BlockquoteTab } from './src/tab/BlockquoteTab.js';
3
- export { BlockquoteTabPanel } from './src/tabpanel/BlockquoteTabPanel.js';