vueless 0.0.438 → 0.0.440

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/constants.js CHANGED
@@ -5,7 +5,8 @@ export const COOL_COLOR = "cool";
5
5
  export const GRAYSCALE_COLOR = "grayscale";
6
6
 
7
7
  /* Vueless dark mode */
8
- export const DARK_MODE_SELECTOR = "vl-dark-mode";
8
+ export const DARK_MODE_SELECTOR = "vl-dark";
9
+ export const LIGHT_MODE_SELECTOR = "vl-light";
9
10
 
10
11
  /* Vueless defaults */
11
12
  export const DEFAULT_BRAND_COLOR = GRAYSCALE_COLOR;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.438",
3
+ "version": "0.0.440",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -54,7 +54,7 @@
54
54
  "@vitejs/plugin-vue": "^5.0.5",
55
55
  "@vue/eslint-config-prettier": "^9.0.0",
56
56
  "@vueless/plugin-vite": "^0.0.74",
57
- "@vueless/storybook": "^0.0.35",
57
+ "@vueless/storybook": "^0.0.37",
58
58
  "@vueless/web-types": "^0.0.17",
59
59
  "autoprefixer": "^10.4.19",
60
60
  "cssnano": "^6.1.2",
@@ -57,7 +57,7 @@ const brandColors = getPalette(BRAND_COLOR);
57
57
  const grayColors = getPalette(GRAY_COLOR);
58
58
 
59
59
  export const vuelessTailwindConfig = {
60
- darkMode: DARK_MODE_SELECTOR,
60
+ darkMode: ["selector", `[class="${DARK_MODE_SELECTOR}"]`],
61
61
  content: [...vuelessContent, ...vuelessContentVue, ...vuelessContentNuxt],
62
62
  theme: {
63
63
  extend: {
@@ -17,7 +17,6 @@ export default {
17
17
  },
18
18
  argTypes: {
19
19
  ...getArgTypes(ULink.__name),
20
- route: { control: { type: "text" } },
21
20
  },
22
21
  };
23
22
 
@@ -85,7 +84,7 @@ export const Href = DefaultTemplate.bind({});
85
84
  Href.args = { href: "https://storybook.js.org/docs/react/get-started/introduction" };
86
85
 
87
86
  export const Route = DefaultTemplate.bind({});
88
- Route.args = { name: "SomeRouterRouteName" };
87
+ Route.args = { name: "routerName" };
89
88
 
90
89
  export const TargetBlank = DefaultTemplate.bind({});
91
90
  TargetBlank.args = {
@@ -72,7 +72,7 @@
72
72
  <template
73
73
  v-if="row.nestedData && !row.nestedData.isHidden && hasSlotContent($slots['nested-content'])"
74
74
  >
75
- <tr>
75
+ <tr :class="row.nestedData.class">
76
76
  <td :colspan="columns.length + (selectable ? 1 : 0)">
77
77
  <div :style="getNestedShift()">
78
78
  <slot name="nested-content" :row="row" />
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.438",
4
+ "version": "0.0.440",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",