@scaleflex/asset-picker 1.0.2 → 1.0.4
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/.claude/settings.local.json +2 -52
- package/README.md +2 -2
- package/dist/{asset-picker-DjEmkrjk.cjs → asset-picker-cnvFGhJa.cjs} +352 -327
- package/dist/{asset-picker-50AePany.js → asset-picker-dDQ9kiNT.js} +2298 -2246
- package/dist/components/filters/ap-filter-approval.d.ts.map +1 -1
- package/dist/components/filters/ap-filter-color.d.ts.map +1 -1
- package/dist/components/filters/ap-filter-labels.d.ts.map +1 -1
- package/dist/components/filters/ap-filter-metadata.d.ts.map +1 -1
- package/dist/components/filters/ap-filter-product-ref.d.ts.map +1 -1
- package/dist/components/header/ap-header.d.ts.map +1 -1
- package/dist/components/header/ap-regional-settings.d.ts.map +1 -1
- package/dist/components/preview/ap-preview-panel.d.ts.map +1 -1
- package/dist/components/selection/ap-marquee-overlay.d.ts.map +1 -1
- package/dist/components/shared/ap-dropdown.d.ts.map +1 -1
- package/dist/components/shared/ap-icon.d.ts.map +1 -1
- package/dist/components/shared/ap-spinner.d.ts.map +1 -1
- package/dist/components/toolbar/ap-content-toolbar.d.ts.map +1 -1
- package/dist/components/views/ap-asset-card.d.ts.map +1 -1
- package/dist/components/views/ap-asset-row.d.ts.map +1 -1
- package/dist/components/views/ap-folder-row.d.ts.map +1 -1
- package/dist/components/views/ap-grid-view.d.ts.map +1 -1
- package/dist/components/views/ap-label-card.d.ts.map +1 -1
- package/dist/components/views/ap-label-row.d.ts.map +1 -1
- package/dist/components/views/ap-list-view.d.ts.map +1 -1
- package/dist/components/views/ap-skeleton.d.ts.map +1 -1
- package/dist/define.cjs +1 -1
- package/dist/define.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/utils/csp-style.d.ts +17 -0
- package/dist/utils/csp-style.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -1,60 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"permissions": {
|
|
3
3
|
"allow": [
|
|
4
|
-
"Bash(
|
|
5
|
-
"Bash(grep:*)",
|
|
6
|
-
"Bash(npm install:*)",
|
|
7
|
-
"Bash(npx tsc:*)",
|
|
8
|
-
"Bash(npx vite:*)",
|
|
9
|
-
"WebFetch(domain:localhost)",
|
|
10
|
-
"Bash(curl:*)",
|
|
11
|
-
"Bash(node:*)",
|
|
4
|
+
"Bash(python3 -c \"import json,sys; p=json.load\\(sys.stdin\\); deps={**p.get\\(''''dependencies'''',{}\\), **p.get\\(''''devDependencies'''',{}\\)}; [print\\(k,v\\) for k,v in deps.items\\(\\) if any\\(x in k.lower\\(\\) for x in [''''i18n'''',''''intl'''',''''locale'''',''''translation'''']\\)]\")",
|
|
12
5
|
"WebSearch",
|
|
13
6
|
"Bash(npm run:*)",
|
|
14
|
-
"Bash(
|
|
15
|
-
"WebFetch(domain:unpkg.com)",
|
|
16
|
-
"Bash(git:*)",
|
|
17
|
-
"Bash(find /Users/dmitrystremous/scaleflex -maxdepth 3 -type d -name \"*admin*\" 2>/dev/null | grep -i filerobot)",
|
|
18
|
-
"Bash(gh run:*)",
|
|
19
|
-
"Bash(gh workflow:*)",
|
|
20
|
-
"Bash(find:*)",
|
|
21
|
-
"Bash(npx playwright:*)",
|
|
22
|
-
"Bash(npm ls:*)",
|
|
23
|
-
"Read(//Users/dmitrystremous/**)",
|
|
24
|
-
"Bash(npx:*)",
|
|
25
|
-
"Bash(rm:*)",
|
|
26
|
-
"Bash(tail:*)",
|
|
27
|
-
"WebFetch(domain:raw.githubusercontent.com)",
|
|
28
|
-
"Bash(gh api:*)",
|
|
29
|
-
"WebFetch(domain:www.scaleflex.com)",
|
|
30
|
-
"WebFetch(domain:scaleflex.github.io)",
|
|
31
|
-
"WebFetch(domain:github.com)",
|
|
32
|
-
"WebFetch(domain:portals.scaleflex.com)",
|
|
33
|
-
"Bash(for f:*)",
|
|
34
|
-
"Bash(do echo:*)",
|
|
35
|
-
"Read(//Users/dmitrystremous/scaleflex/asset-picker/**)",
|
|
36
|
-
"Bash(done)",
|
|
37
|
-
"Bash(cd:*)",
|
|
38
|
-
"Bash(chmod:*)",
|
|
39
|
-
"Bash(./scripts/publish-github.sh \"v0.1.0 — initial release\" 2>&1)",
|
|
40
|
-
"Bash(npm whoami:*)",
|
|
41
|
-
"Bash(npm publish:*)",
|
|
42
|
-
"Bash(gh repo:*)",
|
|
43
|
-
"Bash(./scripts/publish-github.sh \"Update README with demo and docs links\" 2>&1)",
|
|
44
|
-
"Bash(lsof:*)",
|
|
45
|
-
"Bash(kill:*)",
|
|
46
|
-
"Bash(npm view:*)",
|
|
47
|
-
"Bash(find ~/.claude -type f \\\\\\(-name *release* -o -name *.mdc -o -name *.md \\\\\\))",
|
|
48
|
-
"Bash(node -e \"console.log\\(require\\(''./node_modules/@scaleflex/uploader/package.json''\\).version\\)\")",
|
|
49
|
-
"Bash(node -e \"console.log\\(require\\(''../uploader/package.json''\\).version\\)\")",
|
|
50
|
-
"Bash(./scripts/publish-github.sh \"Update demo with latest uploader\")",
|
|
51
|
-
"Bash(python3 -c \"import sys,json; d=json.load\\(sys.stdin\\); print\\('peerDeps:', json.dumps\\(d.get\\('peerDependencies',{}\\), indent=2\\)\\); print\\('optionalPeerDeps:', json.dumps\\(d.get\\('peerDependenciesMeta',{}\\), indent=2\\)\\); print\\('deps:', json.dumps\\(d.get\\('dependencies',{}\\), indent=2\\)\\)\")",
|
|
52
|
-
"Bash(awk '/render\\\\\\(\\\\\\)/,/}/' /Users/dmitrystremous/scaleflex/plugins/scaleflex/asset-picker/src/components/views/ap-collection-row.ts)",
|
|
53
|
-
"Bash(/bin/grep '@customElement' /Users/dmitrystremous/scaleflex/plugins/scaleflex/asset-picker/src/components/views/ap-collection-card.ts)",
|
|
54
|
-
"Bash(/bin/grep '@customElement' /Users/dmitrystremous/scaleflex/plugins/scaleflex/asset-picker/src/components/views/ap-collection-row.ts)",
|
|
55
|
-
"Bash(/bin/grep '@customElement' /Users/dmitrystremous/scaleflex/plugins/scaleflex/asset-picker/src/components/views/ap-collection-folder-card.ts)",
|
|
56
|
-
"Bash(/bin/grep '@customElement' /Users/dmitrystremous/scaleflex/plugins/scaleflex/asset-picker/src/components/views/ap-collection-folder-row.ts)",
|
|
57
|
-
"Bash(python3:*)"
|
|
7
|
+
"Bash(npx vitest:*)"
|
|
58
8
|
]
|
|
59
9
|
}
|
|
60
10
|
}
|
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ pnpm add @scaleflex/asset-picker
|
|
|
118
118
|
No bundler? Add a single script tag:
|
|
119
119
|
|
|
120
120
|
```html
|
|
121
|
-
<script src="https://cdn.scaleflex.com/asset-picker/0.
|
|
121
|
+
<script src="https://cdn.scaleflex.com/asset-picker/1.0.4/asset-picker.min.js"></script>
|
|
122
122
|
```
|
|
123
123
|
|
|
124
124
|
This auto-registers `<sfx-asset-picker>` — no imports needed. See the [CDN quick start](#cdn-1) below.
|
|
@@ -210,7 +210,7 @@ function App() {
|
|
|
210
210
|
<!DOCTYPE html>
|
|
211
211
|
<html>
|
|
212
212
|
<head>
|
|
213
|
-
<script src="https://cdn.scaleflex.com/asset-picker/0.
|
|
213
|
+
<script src="https://cdn.scaleflex.com/asset-picker/1.0.4/asset-picker.min.js"></script>
|
|
214
214
|
</head>
|
|
215
215
|
<body>
|
|
216
216
|
<sfx-asset-picker></sfx-asset-picker>
|