@splendidlabz/svelte 4.0.0-beta.5 → 4.0.1

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.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @splendidlabz/styles@4.0.1
9
+ - @splendidlabz/utils@1.5.1
10
+
11
+ ## 4.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - ea8d661: Ready for next release
16
+
17
+ ### Minor Changes
18
+
19
+ - 8b17adc: Ready for next release
20
+ - 2735cd3: - Deprecate `Hidden` for `HiddenInput` because `HiddenInput` is more descriptive.
21
+ - Created `Popover`and `Modal` with Popover API and Dialog API respectively.
22
+ - Include `fancy-box` styles
23
+
24
+ ### Patch Changes
25
+
26
+ - df4f2d6: Simplified Markdown — so utils now contain a markdown function
27
+ - bb06596: Temporarily remove running of layout scripts in tabs.js
28
+ - 15ae680: Remove default export
29
+ - 2ba13ba: - Include select element
30
+ - Include Checkboxes
31
+ - Include Radios
32
+ - bb06596: Updates
33
+ - Updated dependencies [df4f2d6]
34
+ - Updated dependencies [859a2b0]
35
+ - Updated dependencies [ea8d661]
36
+ - Updated dependencies [15ae680]
37
+ - Updated dependencies [2ba13ba]
38
+ - Updated dependencies [bb06596]
39
+ - Updated dependencies [acf9faf]
40
+ - Updated dependencies [8b17adc]
41
+ - Updated dependencies [84757f7]
42
+ - Updated dependencies [436f382]
43
+ - Updated dependencies [2735cd3]
44
+ - Updated dependencies [5fe7c51]
45
+ - Updated dependencies [15ae680]
46
+ - Updated dependencies
47
+ - Updated dependencies [bb06596]
48
+ - @splendidlabz/utils@1.5.0
49
+ - @splendidlabz/styles@4.0.0
50
+
3
51
  ## 4.0.0-beta.5
4
52
 
5
53
  ### Patch 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.5",
4
+ "version": "4.0.1",
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.4",
22
- "@splendidlabz/utils": "1.5.0-beta.6",
23
+ "@splendidlabz/styles": "4.0.1",
24
+ "@splendidlabz/utils": "1.5.1",
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
  }