@nocode-factory/sanity-kit 2.62.0-rc.0 → 2.62.0-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocode-factory/sanity-kit",
3
- "version": "2.62.0-rc.0",
3
+ "version": "2.62.0-rc.1",
4
4
  "description": "Outils Studio de NoCode Factory : Pages (liste + board), Composants, Historique",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -1,11 +1,10 @@
1
1
  import {useState} from 'react'
2
- import {Box, Button, Card, Flex, Stack, Text} from '@sanity/ui'
2
+ import {Button, Flex, Stack, Text} from '@sanity/ui'
3
3
  import {ArrowUpIcon} from '@sanity/icons/ArrowUp'
4
4
  import {CheckmarkIcon} from '@sanity/icons/Checkmark'
5
5
  import {CopyIcon} from '@sanity/icons/Copy'
6
6
  import {InlinePopover} from '../../ui/Popover'
7
7
  import {useKitUpdate} from '../../hooks/useKitUpdate'
8
- import {BORDER, MONO} from '../../ui/tokens'
9
8
 
10
9
  const CHANGELOG = 'https://github.com/nocode-factory/ncf-sanity-kit/blob/main/docs/CHANGELOG.md'
11
10
 
@@ -65,12 +64,6 @@ export function NcfKitUpdate(props: {inline?: boolean}) {
65
64
  </Text>
66
65
  </Stack>
67
66
 
68
- <Card padding={2} radius={2} style={{border: `1px solid ${BORDER}`}}>
69
- <Text size={0} style={{...MONO, whiteSpace: 'pre-wrap', wordBreak: 'break-word', maxHeight: 160, overflowY: 'auto', display: 'block'}}>
70
- {update.prompt}
71
- </Text>
72
- </Card>
73
-
74
67
  <Flex gap={2} wrap="wrap">
75
68
  <Button
76
69
  mode="default"
@@ -94,13 +87,13 @@ export function NcfKitUpdate(props: {inline?: boolean}) {
94
87
  />
95
88
  </Flex>
96
89
 
97
- <Box style={{borderTop: `1px solid ${BORDER}`, paddingTop: 10}}>
98
- <Text size={0} muted>
99
- Paste it into Claude Code, opened on this project: it updates the kit, wires what
100
- the project needs and redeploys the Studio. The Studio cannot do it itself: it runs
101
- in your browser, not on the machine that builds it.
102
- </Text>
103
- </Box>
90
+ {/* Pas de texte de la consigne ici : le panneau (240 px) le couperait et
91
+ cacherait le bouton. Le bouton suffit ; la consigne est dans le presse-papiers. */}
92
+ <Text size={0} muted>
93
+ Copies the full instructions for Claude Code. Paste them into Claude Code, opened
94
+ on this project: it updates the kit, wires what the project needs and redeploys
95
+ the Studio.
96
+ </Text>
104
97
  </Stack>
105
98
  )}
106
99
  </InlinePopover>
package/src/version.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * quelle version. Recopiée de `package.json` par `npm version` (scripts/sync-version.mjs) ; un test
4
4
  * le vérifie.
5
5
  */
6
- export const KIT_VERSION = '2.62.0-rc.0'
6
+ export const KIT_VERSION = '2.62.0-rc.1'