@splendidlabz/svelte 4.0.0-beta.4 → 4.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,53 @@
1
1
  # @splendidlabz/svelte
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - ea8d661: Ready for next release
8
+
9
+ ### Minor Changes
10
+
11
+ - 8b17adc: Ready for next release
12
+ - 2735cd3: - Deprecate `Hidden` for `HiddenInput` because `HiddenInput` is more descriptive.
13
+ - Created `Popover`and `Modal` with Popover API and Dialog API respectively.
14
+ - Include `fancy-box` styles
15
+
16
+ ### Patch Changes
17
+
18
+ - df4f2d6: Simplified Markdown — so utils now contain a markdown function
19
+ - bb06596: Temporarily remove running of layout scripts in tabs.js
20
+ - 15ae680: Remove default export
21
+ - 2ba13ba: - Include select element
22
+ - Include Checkboxes
23
+ - Include Radios
24
+ - bb06596: Updates
25
+ - Updated dependencies [df4f2d6]
26
+ - Updated dependencies [859a2b0]
27
+ - Updated dependencies [ea8d661]
28
+ - Updated dependencies [15ae680]
29
+ - Updated dependencies [2ba13ba]
30
+ - Updated dependencies [bb06596]
31
+ - Updated dependencies [acf9faf]
32
+ - Updated dependencies [8b17adc]
33
+ - Updated dependencies [84757f7]
34
+ - Updated dependencies [436f382]
35
+ - Updated dependencies [2735cd3]
36
+ - Updated dependencies [5fe7c51]
37
+ - Updated dependencies [15ae680]
38
+ - Updated dependencies
39
+ - Updated dependencies [bb06596]
40
+ - @splendidlabz/utils@1.5.0
41
+ - @splendidlabz/styles@4.0.0
42
+
43
+ ## 4.0.0-beta.5
44
+
45
+ ### Patch Changes
46
+
47
+ - Updated dependencies
48
+ - @splendidlabz/utils@1.5.0-beta.6
49
+ - @splendidlabz/styles@4.0.0-beta.4
50
+
3
51
  ## 4.0.0-beta.4
4
52
 
5
53
  ### Minor Changes
package/common.js CHANGED
@@ -3,8 +3,8 @@
3
3
  import { Callout } from './components/Callout'
4
4
  import { Codepen } from './components/Codepen'
5
5
  import FancyList from './components/FancyList/FancyList.svelte'
6
+ import Icon from './components/Icon/Icon.svelte'
6
7
  import Image from './components/Image.svelte'
7
- import SVG from './components/Icon/Icon.sveltee'
8
8
  import Video from './components/Video.svelte'
9
9
  import Vimeo from './components/Vimeo.svelte'
10
10
  import Youtube from './components/Youtube.svelte'
@@ -14,7 +14,7 @@ export const components = {
14
14
  Codepen,
15
15
  FancyList,
16
16
  Image,
17
- SVG,
17
+ Icon,
18
18
  Video,
19
19
  Vimeo,
20
20
  Youtube,
package/jsconfig.json CHANGED
@@ -1,5 +1,16 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "checkJs": true
4
- }
3
+ "checkJs": true,
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
+ "target": "ESNext",
7
+ "allowJs": true,
8
+ "resolveJsonModule": true,
9
+ "isolatedModules": true,
10
+ "noEmit": true,
11
+ "jsx": "preserve",
12
+ "jsxImportSource": "svelte"
13
+ },
14
+ "include": ["**/*.js", "**/*.svelte"],
15
+ "exclude": ["node_modules", "dist"]
5
16
  }
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@splendidlabz/svelte",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.4",
4
+ "version": "4.0.0",
5
5
  "sideEffects": false,
6
6
  "scripts": {
7
7
  "lint": "eslint . --fix",
8
- "release": "np --no-publish && npm publish"
8
+ "release": "np --no-publish && npm publish",
9
+ "check": "svelte-check --tsconfig ./jsconfig.json",
10
+ "check:watch": "svelte-check --tsconfig ./jsconfig.json --watch"
9
11
  },
10
12
  "author": "Zell Liew <zellwk@gmail.com>",
11
13
  "exports": {
@@ -18,15 +20,17 @@
18
20
  "dependencies": {
19
21
  "@floating-ui/dom": "^1.6.13",
20
22
  "@iconify/svelte": "^4.2.0",
21
- "@splendidlabz/styles": "4.0.0-beta.3",
22
- "@splendidlabz/utils": "1.5.0-beta.5",
23
+ "@splendidlabz/styles": "4.0.0",
24
+ "@splendidlabz/utils": "1.5.0",
23
25
  "autosuggest-highlight": "^3.3.4",
24
26
  "lodash-es": "^4.17.21",
25
27
  "node-html-parser": "^7.0.1"
26
28
  },
27
29
  "devDependencies": {
28
- "@splendidlabz/eslint-config": "2.0.0-alpha.1",
30
+ "@splendidlabz/eslint-config": "2.0.0",
31
+ "@tsconfig/svelte": "^5.0.4",
29
32
  "svelte": "^5.25.6",
33
+ "svelte-check": "^4.2.1",
30
34
  "vitest": "^3.1.1"
31
35
  }
32
36
  }
package/svelte.config.js CHANGED
@@ -2,4 +2,13 @@ export default {
2
2
  experimental: {
3
3
  runes: true,
4
4
  },
5
+ compilerOptions: {
6
+ enableSourcemap: true,
7
+ cssHash: ({ hash, css, name, filename }) => `${name}-${hash(css)}`,
8
+ },
9
+ onwarn: (warning, handler) => {
10
+ // Ignore TypeScript warnings since we're using JSDoc
11
+ if (warning.code.startsWith('ts-')) return;
12
+ handler(warning);
13
+ }
5
14
  }