@saasbase-io/core-elements 1.1.23 → 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.
@@ -5,3 +5,6 @@ export declare function applyCustomizations(defaultClass: string, defaultStyle?:
5
5
  class: string;
6
6
  style: Style;
7
7
  };
8
+ export declare const genRandSeed: () => string;
9
+ export declare const genSlotId: (seed: string, slot: string, variant?: string) => string;
10
+ export declare function generateElemId(el: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasbase-io/core-elements",
3
- "version": "1.1.23",
3
+ "version": "1.3.0",
4
4
  "license": "MIT",
5
5
  "description": "A collection saas based related components",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,9 @@
26
26
  "lint": "eslint 'src/**/*.{ts,tsx}' --fix",
27
27
  "build:demo": "vite build --config vite.demo.config.ts",
28
28
  "preview:demo": "vite preview --config vite.demo.config.ts",
29
- "build:css": "postcss src/styles/tailwind.css -o dist/styles.css"
29
+ "build:css": "postcss src/styles/tailwind.css -o dist/styles.css",
30
+ "storybook": "storybook dev -p 6006",
31
+ "build-storybook": "storybook build"
30
32
  },
31
33
  "keywords": [
32
34
  "lit",
@@ -36,6 +38,7 @@
36
38
  ],
37
39
  "author": "team-saas-based",
38
40
  "devDependencies": {
41
+ "@storybook/web-components-vite": "^10.3.6",
39
42
  "@types/jsoneditor": "^9.9.5",
40
43
  "@types/node": "^24.0.4",
41
44
  "@types/react": "^19.0.0",
@@ -44,6 +47,7 @@
44
47
  "@vitejs/plugin-react": "^4.6.0",
45
48
  "autoprefixer": "^10.4.20",
46
49
  "eslint": "^9.38.0",
50
+ "eslint-plugin-storybook": "^10.3.6",
47
51
  "globals": "^16.4.0",
48
52
  "lit": "^3.3.0",
49
53
  "postcss": "^8.4.47",
@@ -60,6 +64,7 @@
60
64
  "@lit/reactive-element": "^2.1.0",
61
65
  "@revotech-group/revotech-ui-kit": "^0.2.5",
62
66
  "@saasbase-io/loginflow-websdk": "^1.10.5",
67
+ "@storybook/web-components": "^10.3.6",
63
68
  "jsoneditor": "^10.2.0",
64
69
  "lit-html": "^3.3.0"
65
70
  },
@@ -1,6 +0,0 @@
1
- import { LitElement } from '../../../../node_modules/lit';
2
- export declare class SbError extends LitElement {
3
- createRenderRoot(): this;
4
- content: string;
5
- render(): import('../../../../node_modules/lit-html').TemplateResult<1>;
6
- }